Port mappings can be set on a router and can be set on a proxy server, but there is also a port mapping feature on the Windows Server 2003/xp/2000 firewall.
If the IP address of the computer to which the port is mapped is: 192.168.0.1. Complete the 192.168.0.1 80 port, map to the 192.168.0.10 8080 port, the following settings can be. Open Windows Firewall and select the Advanced tab page. I> on the Advanced tab, select Local Area connection for which you want the port map, and click the Settings button to open the Advanced Settings window. In the Advanced Settings window, click the Add or Edit button to open the Service Settings window. In the Service Settings window, in the Service Description section, enter your service description, and the IP address (192.168.0.10) of the other computer to which the input port is mapped, in the name or IP address of the computer hosting this service in your network; external port number for this service Enter the external port number (80), which is the port number that the external user accesses, and in the "Internal port number for this service", enter the port number (8080) that hosts the service for another computer that you map to.
All requests to access the 192.168.0.1:80 port are automatically turned to the 192.168.0.10:8080 port after the above settings.
If you have more than one network card on your computer, you want to do a port mapping for one of the NIC's ports, just select the appropriate "Local Area Connection" in step 2nd.