3-Tuple NAT can translate the source addresses and ports of packets. It allows Internet users to access private users, coexisting with P2P-based file sharing, audio communication, and video transmission.
If the FW uses 5-tuple NAT (NAPT) in a scenario where intranet PCs access the Internet, extranet devices cannot proactively access intranet PCs through the translated IP addresses and ports.
3-Tuple NAT can perfectly resolve the issue because 3-tuple NAT has the following two features. Figure 1 shows its mechanism.
By default, the independent end point filtering function is enabled. After this function is enabled, the FW matches the packet sent by an Internet user to communicates with an intranet user with the server-map table. The FW translates the addresses based on the mapping in the destination server map table and forwards the packet without performing security policy. If the function is disabled, the FW searches for a matching security policy rule and determines whether to forward the packet.
FW shows the 3-tuple NAT process when host A accesses host B.
The FW generates a server-map table that stores the mappings between host private IP addresses and public IP addresses.
3-Tuple NAT can be categorized into two types:
Local 3-tuple NAT
The server-map table generated by local 3-tuple NAT contains security zone parameters. Only the hosts in the security zone can access Intranet hosts. As shown in Figure 1, if host B and host C are in different security zones and the 3-tuple NAT relationship has been established between host A and host B, host C cannot use the established server-map table to access host A.
Global 3-tuple NAT
The server-map table generated by global 3-tuple NAT does not contain security zone parameters. Once the server-map table is established, the hosts in all security zones can access Intranet hosts. As shown in Figure 1, if host B and host C are in different security zones and the 3-tuple NAT relationship has been established between host A and host B, host C can also use the established server-map table to access host A.
The FW supports Smart 3-tuple NAT and determines the port assignment mode based on packet destination ports, allowing for the reuse of some public IP addresses. If a packet's destination port number is in the configured range, the NAPT mode is used for port assignment; otherwise, the 3-tuple NAT mode is used.