Tuesday, July 26, 2011

Configure NAT Server On Linux (CentOS/RHEL)

Network address translation (NAT) allows you to use a server as a gateway to a subnet, essentially controlling what goes in and out of your network. Suppose you have two network outside (192.168.1.0) and inside (172.168.1.0). You need to create a firewall rule to allow all your clients on the internal network to be able to communicate with the outside world.

Step 1. Implement NAT for the internal network (NAT Server):


Step 2. Test the result on Client:


Have fun!