Port forwarding software (service) for Windows

netsh interface portproxy add v4tov4 5118 127.0.0.1 8182
netsh interface portproxy add v6tov6 5118 ::1 8182

Note that the service will see the user as connecting from "localhost", which may be undesirable for logging purposes.


"IP Helper" service must be enabled and running !


You can also try:

netsh routing ip nat add portmapping "LAN NAME" tcp 0.0.0.0 5118 192.168.0.3 8182

Where 192.168.0.3 is the target server ip.

If port 5118 comes from internet this port has to be open in your firewall/router.


Neither of these worked for me. However the port of rinetd worked well. http://codewut.de/Port-Redirection-with-Windows


found on a forum :

You need to install IPv6 (Run->Settings->Control Panel->Network Connections->Local Area Connection->Properties->Install->Protocol->Microsoft TCP/IP version 6), otherwise this feature won’t work. It’s a known bug in netsh and it doesn’t look like Microsoft is going to fix it.

and here is the Microsoft KB article :

http://support.microsoft.com/kb/555744