Using 1-to-1 NAT

1-to-1 NAT uses a global NAT policy that rewrites and redirects packets sent to one range of addresses to a completely different range of addresses. This address conversion works in both directions. You can configure any number of 1-to-1 NAT addresses.

A common reason to use 1-to-1 NAT is to map public IP addresses to internal servers without needing to renumber those servers. 1-to-1 NAT is also used for VPNs in which the remote network's IP addressing scheme conflicts with the local scheme. By translating the local network to a range that is not in conflict with the other end, both sides can communicate. For more information on 1-to-1 NAT, see the following FAQ:
https://support.watchguard.com/advancedfaqs/nat_onetoone.asp

Each NAT policy contains four configurable pieces of information:

The NAT base plus the range defines the NAT region while the real base plus the range defines the hidden or forwarded region.

For instance, the following policy:

210.199.6.1-192.168.69.1:254 (NAT base to real base range)

means that all traffic addressed to hosts between 210.199.6.1 and 210.199.6.254 is forwarded to the corresponding IP address between 192.168.69.1 and 192.168.69.254.

A one-to-one mapping exists between each NAT address and the forwarded (real) IP address: 210.199.6.0 becomes 192.168.69.0.

From Policy Manager:

  1. Select Setup => NAT.
    The NAT Setup dialog box appears.

  2. Click Advanced.
    The Advanced NAT Settings dialog box appears.

  3. Click the 1-to-1 NAT Setup tab.
  4. Select the checkbox marked Enable 1-1 NAT.
  5. Click Add.
    The 1-1 Mapping dialog box appears, as shown in the following figure.

  1. Select the appropriate interface.
  2. Enter the number of hosts to be translated.
  3. In the NAT base field, enter the base address for the exposed NAT range.
    This will generally be the public IP address that will appear outside the Firebox.

  4. In the Real base field, enter the base address for the real IP address range. Click OK.
    This will generally be the private IP address directly assigned to the server or client.

  5. Click the Dynamic NAT Exceptions tab.
    You must make dynamic NAT exceptions for any internal address being used for 1-to-1 NAT; otherwise, the address will be translated using dynamic NAT instead of 1-to-1 NAT.

  6. Click Add.
    The Add Exception dialog box appears.

  7. In the To box, select the appropriate interface. In most cases, you will choose the external interface.
    The choices dvcp_nets and dvcp_local_nets are aliases for VPN Manager and appear if your Firebox is configured as a DVCP client. dvcp_nets refers to networks at the other end of the VPN tunnel and dvcp_local_nets refers to networks behind the Firebox being configured. Under normal circumstances, you should not make dynamic NAT exceptions for these networks.

  8. Click the button next to the From box and enter the value of the real IP address range, as entered in step 9. Click OK.
  9. Click OK to close the Advanced NAT Settings dialog box. Click OK to close the NAT Setup dialog box.


Return to Top

Copyright © 1996 - 2004 WatchGuard Technologies, Inc. All rights reserved.
Legal Notice/Terms of Use