ClearOS Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


1-to-1 NAT

The 1-to-1 NAT app is required if you plan to have publicly available IP addresses correlate with servers running on your local network. For example, you may need a server placed in your network but have it be available on a separate IP address than your ClearOS server.

The ClearOS 1-to-1 NAT module creates a virtual IP address on the WAN side (public network) of your ClearOS server and then correlates that to a server on the inside of your network. The module handles the IP address aliasing, the firewalling, and the NAT port forwarding.

If your public address pool is capable of being subnetted, you can use the DMZ module instead if you want your server behind the firewall to be in a public IP address space.

Installation

You can install the module at any time from the ClearCenter Marketplace.

You can find this feature in the menu system at the following location:

Network|Firewall|1-to-1 NAT

Configuration

To configure a 1-to-1 NAT policy add a rule and assign a nickname, which interface will hold the public IP address, the public IP address that you want assigned (it should be available and within the same subnet as your current IP address for your WAN interface) and what IP on the inside it should apply the translation to. You can also tell the interface to NAT all ports and protocols or you can define individual ports or port ranges. To specify a range, use a colon (':') to separate the start port and end port.

https://clearos.com/dokuwiki2/lib/exe/fetch.php?w=550&tok=d76847&media=omedia:1-1-nat_eg1.png

Troubleshooting

In order to use the 1-to-1 NAT module properly, you must not have previously created any alias address which overlaps or have created any Port Forwarding policy which attempts to do the same thing. Also, the target internal system on your local network must have the default gateway set to ClearOS system.

Again, if you are trying to make a 1:1 NAT rule work you will NOT use any other module to support this rule. The 1:1 NAT module provisions all the required components for the forward rule to work including the IP address (don't configure one as an alias in IP Settings), the incoming firewall rule (do not configure them in the Incoming firewall as that module is for ports going to the ClearOS server itself), and the port forwarding (do not also set up a port forwarding rule to cover this 1:1 NAT rule).

content/en_us/6_nat_firewall.txt · Last modified: 2017/12/13 13:50 by cjones

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3A6_nat_firewall&1563420771