Working with NAT46 Rules
|
Note - NAT46 rules are only supported on Security Gateways and Cluster Two or more Security Gateways that work together in a redundant configuration - High Availability, or Load Sharing. Members R80.20 and higher. |
Overview
NAT46 rules translate IPv4 traffic to IPv6 traffic without maintaining any session information on a Security Gateway Dedicated Check Point server that runs Check Point software to inspect traffic and enforce Security Policies for connected network resources..
-
Performs 1:1 IP address mapping.
-
The system generates the translated source IPv6 address as a combination of these two parts:
-
A user-defined Network object with an IPv6 address defined with the 96-bit prefix.
-
The source IPv4 address, which is added as a 32-bit suffix.
-
-
[IPv4 Network] --- (Internet) --- [Security Gateway] --- [IPv6 Network]
Common use case for Content Providers.
-
[IPv4 Network] --- [Security Gateway] --- (Internet) --- [IPv6 Network]
Common use case for Enterprises.
Example topology:
[IPv4 Client] --- (internal) [Security Gateway] (external) --- [IPv6 Server]
Where:
Item |
Description |
---|---|
IPv4 Client |
IPv4 real address is 192.168.2.55 IPv6 NATed address is 2001:DB8:90::192.168.2.55/96 |
Security Gateway internal interface |
IPv4 address is 192.168.2.1/24 |
Security Gateway external interface |
IPv6 address is 2001:DB8:5001::1/96 |
IPv6 Server |
IPv6 real address is 2001:DB8:5001::30/96 IPv4 NATed address is 1.1.1.66/24 |
IPv6 NATed network |
IPv6 address of the network on the external Security Gateway side is 2001:DB8:90::/96 These IPv6 addresses are used to translate the IPv4 address of the IPv4 Client to IPv6 address |
IPv4 NATed network |
IPv4 address of the network on the internal Security Gateway side is 1.1.1.0/24 These IPv4 addresses are used to translate the IPv6 address of the IPv6 Server to IPv4 address |
Traffic flow:
-
IPv4 Client opens an IPv4 connection to the NATed IPv4 address of the IPv6 Serve
From IPv4 address 192.168.2.55 to IPv4 address 1.1.1.66
-
Security Gateway performs these NAT translations:
-
From the source IPv4 address 192.168.2.55 to the source IPv6 address 2001:DB8:90::192.168.2.55/96
-
From the destination IPv4 address 1.1.1.66 to the destination IPv6 address 2001:DB8:5001::30
-
-
IPv6 Server receives this request connection as from the IPv6 address 2001:DB8:90::192.168.2.55/96 to the IPv6 address 2001:DB8:5001::30
-
IPv6 Server replies to this connection from the IPv6 address 2001:DB8:5001::30 to the IPv6 address 2001:DB8:90::192.168.2.55/96
-
Security Gateway performs these NAT translations:
-
From the source IPv6 address 2001:DB8:5001::30 to the source IPv4 address 1.1.1.66
-
From the destination IPv6 address 2001:DB8:90::192.168.2.55/96 to the destination IPv4 address 192.168.2.55
-
-
IPv4 Client receives this reply connection as from the IPv4 address 1.1.1.66 to the IPv4 address 192.168.2.55
To summarize:
-
Request: [IPv4 Client] ---> [Security Gateway] ---> [IPv6 Server]
Field in packet
Original IPv4 packet
NATed IPv6 packet
Source IP
192.168.2.55 / 24
2001:DB8:90::192.168.2.55 / 96
Destination IP
1.1.1.66 / 24
2001:DB8:5001::30 / 96
-
Reply: [IPv4 Client] <--- [Security Gateway] <--- [IPv6 Server]
Field in packet
Original IPv6 packet
NATed IPv4 packet
Source IP
2001:DB8:5001::30 / 96
192.168.2.55 / 24
Destination IP
2001:DB8:90::192.168.2.55 / 96
1.1.1.66 / 24
Known Limitations for NAT46
-
NAT46 rules are only supported on Security Gateways and Cluster Members R80.20 and higher.
-
NAT46 does not support VoIP traffic.
-
NAT46 does not support FTP traffic.
-
NAT46 does not support protocols that require state information between Control and Data connections.
Configuring NAT46
|
Note - In a Cluster, you must configure all the Cluster Members in the same way. |
Configure NAT46 rules as Manual NAT rules in the Access Control Policy.
Make sure that you add Access Control rules that allow this NAT traffic.
-
Configure an applicable source IPv4 object (IPv4 Host, IPv4 Address Range, or IPv4 Network).
To configure a source IPv4 Host object-
Click Objects menu > New Host.
-
In the Object Name field, enter the applicable name.
-
In the Comment field, enter the applicable text.
-
Click the General page of this object.
-
In the IPv4 address field, enter the source IPv4 address.
-
In the IPv6 section:
Do not enter anything
-
On the NAT page of this object:
Do not configure anything.
-
Configure the applicable settings on other pages of this object.
-
Click OK.
To configure a source IPv4 Network object-
Click Objects menu > New Network.
-
In the Object Name field, enter the applicable name.
-
In the Comment field, enter the applicable text.
-
Click the General page of this object.
-
In the IPv4 section:
-
In the Network address field, enter the IPv4 address of your source IPv4 network.
-
In the Net mask field, enter the net mask of your source IPv4 network.
-
-
In the IPv6 section:
Do not enter anything.
-
On the NAT page of this object:
Do not configure anything.
-
Click OK.
To configure a source IPv4 Address Range object-
Click Objects menu > More object types > Network Object > Address Range > New Address Range.
-
In the Object Name field, enter the applicable name.
-
In the Comment field, enter the applicable text.
-
Click the General page of this object.
-
In the IPv4 section:
-
In the First IP address field, enter the first IPv4 address of your IPv4 addresses range.
-
In the Last IP address field, enter the last IPv4 address of your IPv4 addresses range.
-
-
In the IPv6 section:
Do not enter anything.
-
On the NAT page of this object:
Do not configure anything.
-
Click OK.
-
-
Configure a destination IPv4 Host object.
This object represents the destination IPv4 address, to which the IPv4 sources connect.
To configure a translated destination IPv4 Host object-
Click Objects menu > New Network.
-
In the Object Name field, enter the applicable name.
-
In the Comment field, enter the applicable text.
-
Click the General page of this object.
-
In the IPv4 section:
-
In the Network address field, enter the IPv4 address of your destination IPv4 network.
-
In the Net mask field, enter the net mask of your destination IPv4 network.
-
-
In the IPv6 section:
Do not enter anything.
-
On the NAT page of this object:
Do not configure anything.
-
Click OK.
-
-
Configure a translated source IPv6 Network object with an IPv6 address defined with the 96-bit prefix.
This object represents the translated source IPv6 addresses, to which you translate the source IPv4 addresses.
To configure a translated source IPv6 Network object with an IPv6 address defined with the 96-bit prefix-
Click Objects menu > New Network.
-
In the Object Name field, enter the applicable name.
-
In the Comment field, enter the applicable text.
-
Click the General page of this object.
-
In the IPv4 section:
Do not enter anything.
-
In the IPv6 section:
-
In the Network address field, enter the translated source IPv6 address.
-
In the Prefix field, enter the number 96.
-
-
On the NAT page of this object:
Do not configure anything.
-
Click OK.
-
-
Configure a translated destination IPv6 Host object.
This object represents the translated destination IPv6 address, to which the translated IPv4 sources connect.
To configure a translated destination IPv6 Host object-
Click Objects menu > New Host.
-
In the Object Name field, enter the applicable name.
-
In the Comment field, enter the applicable text.
-
Click the General page of this object.
-
In the IPv4 section:
Do not enter anything.
-
In the IPv6 section:
In the Network address field, enter the destination static IPv6 address.
-
On the NAT page of this object:
Do not configure anything.
-
Configure the applicable settings on other pages of this object.
-
Click OK.
-
-
Create a Manual NAT46 rule.
Procedure-
From the left Navigation Toolbar, click Security Policies.
-
In the top Access Control section, click NAT.
-
Right-click on the Manual Lower Rules section title, and near the New Rule, click Above or Below.
Configure this NAT46 rule:
Original
SourceOriginal
DestinationOriginal
ServicesTranslated
SourceTranslated
DestinationTranslated
Services*Any
or
Source
IPv4
Host
objector
Source
IPv4
Address Range
objector
Source
IPv4
Network
objectIPv4
Host
object*Any
IPv6
Network
object
with an
IPv6 address
defined with
the 96-bit
prefixIPv6
Host
object= Original
Do these steps:
-
In the Original Source column, add the applicable IPv4 object.
In this rule column, NAT46 rules support only these types of objects:
-
*Any
-
Host with a static IPv4 address
-
Address Range with IPv4 addresses
-
Network with IPv4 address
-
-
In the Original Destination column, add the IPv4 Host object that represents the destination IPv4 address, to which the IPv4 sources connect.
In this rule column, NAT46 rules support only IPv4 Host objects.
-
In the Original Services column, you must leave the default Any.
-
In the Translated Source column, add the IPv6 Network object with an IPv6 address defined with the 96-bit prefix.
In this rule column, NAT64 rules support only IPv6 Network objects with an IPv6 address defined with the 96-bit prefix.
-
In the Translated Source column, right-click the IPv6 Network object with the 96-bit prefix > click NAT Method > click Stateless NAT46.
The 46 icon shows in the Translated Source column.
-
In the Translated Destination column, add the IPv6 Host object represents the translated destination IPv6 address, to which the translated IPv4 sources connect.
In this rule column, NAT46 rule supports only an IPv6 Host objects.
-
In the Translated Services column, you must leave the default = Original.
To summarize, you must configure only these NAT46 rules (rule numbers are for convenience only):
-
-
-
Install the Access Control Policy.
Logging of NAT46 Traffic
In the Security Gateway log for NAT64 connection, the source and destination IPv6 addresses show in their original IPv6 format.
To identify a NAT46 entry, look in the More section of the Log Details window.
Field in Log |
Description |
---|---|
Xlate (NAT) Source IP |
Shows the translated source IPv6 address, to which the Security Gateway translated the original source IPv4 address |
Xlate (NAT ) Destination IP |
Shows the translated destination IPv6 address, to which the Security Gateway translated the original destination IPv4 address |
More |
Identifies the entry as NAT46 traffic ( |