Configuring a 1:1 NAT rule

This recipe describes how to configure a 1:1 NAT rule. A 1:1 NAT rule is used when you want to associate a public IP address with a single internal machine. Everything destined for the public IP will be routed to a single internal machine.

How to do it...

  1. Browse to Firewall | Virtual IPs.
  2. On the Virtual IPs tab, click the "plus" button to add a new virtual IP Address.
  3. Select the Proxy ARP as the Type.
  4. Select WAN as the Interface.
  5. Select Single address as the Type of IP Address and specify our external public IP address.
  6. Add a Description, such as My public IP address:
    How to do it...
  7. Save the changes.
  8. Apply changes, if necessary.
  9. Browse to Firewall | NAT.
  10. Select the 1:1 tab.
  11. Click the "plus" button to add a new 1:1 NAT rule.
  12. Select an Interface, in this case WAN.
  13. Specify a Source, in this case any.
  14. Specify a Destination, we'll specify our internal webserver by alias.
  15. Specify the External subnet, our public IP address.
  16. Add a Description, such as Forward all external requests to Webserver1.
  17. Leave NAT reflection disabled:
    How to do it...
  18. Save the changes.
  19. Apply changes, if necessary.

How it works...

Once a 1:1 NAT relationship is established, all traffic will be forwarded to the internal IP address (or subnet), just as if the internal machine was directly configured with the public IP address. This is much easier than creating port-forward rules if all of your incoming traffic is destined for the same machine.

There's more...

Like many advanced networking features, 1:1 NAT relationships require the use of Virtual IP Addresses (VIPs).

See also

  • The Creating a virtual IP recipe
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.206.171