Contents

Related Topics

Configure Firewall 1-to-1 NAT

You can configure 1-to-1 NAT for any interface. For an external interface, the Real Base refers to the real (private) IP addresses of hosts on your network, and the NAT Base refers to the public IP addresses you want to associate with the private addresses. You can configure a 1-to-1 NAT mapping for a single IP address, a range of IP addresses, or an entire subnet.

Add the 1-to-1 NAT Mapping

Edit a Policy to use NAT

The example in About 1-to-1 NAT describes how 1-to-1 NAT can provide access to an email server. To complete this configuration, you must change the inbound SMTP policy settings to allow connections from the external network to the IP address 203.0.113.11. You must also change the outbound SMTP policy settings.

Define a 1-to-1 NAT Rule

In each 1-to-1 NAT rule, you can configure a host, a range of hosts, or a subnet. You must also configure:

Interface

The name of the Ethernet interface on which 1-to-1 NAT is applied. Your Firebox applies 1-to-1 NAT for packets sent in to, and out of, the interface. In our example above, the rule is applied to the external interface.

NAT base

When you configure a 1-to-1 NAT rule, you configure the rule with a from and a to range of IP addresses. The NAT base is the first available IP address in the to range of addresses. The NAT base IP address is the address that the real base IP address changes to when the 1-to-1 NAT is applied. You cannot use the IP address of an existing Ethernet interface as your NAT base. For NAT through an external interface, the NAT base is the public IP address.

Real base

When you configure a 1-to-1 NAT rule, you configure the rule with a from and a to range of IP addresses. The Real base is the first available IP address in the from range of addresses. It is the IP address assigned to the physical Ethernet interface of the computer to which you will apply the 1-to-1 NAT policy. When packets from a computer with a real base address go through the specified interface, the 1-to-1 action is applied. For NAT through an external interface, the Real base is the private IP address.

Number of hosts to NAT (for ranges only)

The number of IP addresses in a range to which the 1-to-1 NAT rule applies. The first real base IP address is translated to the first NAT Base IP address when 1-to-1 NAT is applied. The second real base IP address in the range is translated to the second NAT base IP address when 1-to-1 NAT is applied. This is repeated until the Number of hosts to NAT is reached. In the example above, the number of hosts to apply NAT to is 5.

For an example of how to use 1-to-1 NAT, see 1-to-1 NAT Example.

For a demonstration of how to configure 1-to-1 NAT, see the Video Tutorial Getting Started with NAT.

1-to-1 NAT Through a Branch Office VPN

You can use 1-to-1 NAT when you must create a VPN tunnel between two networks that use the same private network address. You can also use 1-to-1 NAT in a VPN configuration when you want to masquerade your internal address scheme from the remote network.

When you create a VPN tunnel, the networks at each end of the VPN tunnel must have different network address ranges. If the network range on the remote network is the same as on the local network, you must use 1-to-1 NAT. For a BOVPN virtual interface, you can select the BOVPN virtual interface name in the 1-to-1 NAT configuration, and add a 1-to-1 NAT rule as described in the previous section.

For a branch office VPN that is not a BOVPN virtual interface, you can configure 1-to-1 NAT in the branch office VPN gateway and tunnel settings. Configure both gateways to use 1-to-1 NAT and create the VPN tunnel, but do not change the IP addresses of one side of the tunnel. You configure 1-to-1 NAT for a VPN tunnel when you configure the VPN tunnel and not in the Network > NAT dialog box.

For an example of this type of configuration, see Configure 1-to-1 NAT Through a Branch Office VPN Tunnel.

See Also

About 1-to-1 NAT

Configure Policy-Based 1-to-1 NAT

Give Us Feedback     Get Support     All Product Documentation     Technical Search