Thanks to http://www.makak.ru blog
Today we’ll learn how to customize and publish the users of our network in the internet, technology NAT.
NAT (from the English. Network Address Translation – «NAT”) – a mechanism in networks TCP / IP, which an IP-address transit packets. Also known as IP Masquerading, Network Masquerading and Native Address Translation.
NAT address translation method can be performed in almost any routing device – routers, access servers, firewalls. The essence of the mechanism is to replace the back (source) addresses when a packet to one side and the reverse change the destination (destination) in the response packet. Along with the addresses of source / destination can also be replaced with the number of ports source / destination.
In order to act as a router, a server must have two network interfaces. Internet and the network itself to be let into the Internet. Suppose that our network connections are called INTERNET and ADMIN.
In Windows 2003 has the Routing and Remote Access. Routing and Remote access. It must run in the manager server management.
After this, open the Routing and Remote access point to the left and look for the “NAT / Basic firewall”. Rightwards interfaces, now they are not, so we will add our admin and internet.
Once we have added them appear in the list on the right, as shown. Then we need to configure IP addresses and masks, which will be carried out and the whole mess.
We start setting. Right-click on the mouse interface internet and go to its settings (prefences).
In the opened window, we will see a tab. We need one “Address Pool”. Open, as shown above. In the list while it is not, we will add our external IP address and mask. 10.9.2.130 – this is our IP on the Internet.
With this done, you now need to decide which IP addresses can connect to the Internet through our server. To do this, we will reserve one IP address. Go back to the menu and click the button Prefences Peserve Apresses. We see a window, in which you can back up.
Click Add and write our address.
192.168.0.102 – This is the address the user who can access a network through our server.
10.9.2.130 – This is the external IP of our server on the Internet.
To go online using this technology you will have the IP address of 10.9.2.130. There are different ways to configure, you can back up each machine individually address. In the reservation, you can specify more than one or a range of addresses or not indicate at all, then any IP on the local network will be able to sit on the Internet through the server.
To configure NAT on the client machine, you need to specify the connection settings in the gateway IP address of the server.