Windows 2008 and netsh routing.


  • Hi

    I'm using Windows Server 2008 R2 Enterprise (v6.1 build 7600)


    What I'm trying to do is to add a port mapping from any public IP (port 22) to a LAN ip same port, I have VMWare installed with a ubuntu and wish to access ssh with external IP... so I need to forward all WAN connections on port 22 to a IP in my LAN.

    I found that netsh do the trick, but I can't get it working on my server


    netsh routing ip nat add portmapping name="Local Area Connection" tcp 22 22 


    The following command was not found: routing ip nat add portmapping "name=Local

    Area Connection" tcp 22 22.


    Or maybe there is another way to do this? I don't wish to use a portforward software.

    thx :)


    Friday, September 03, 2010 11:02 PM

All replies