Question

I'm trying to set up port forwarding on windows machine. I have the following setup:

  1. Machine P with ip address 192.168.0.120 that is reachable from my network
  2. Machine D with ip address 192.168.120.6 that is reachable from machine D network only.

I need to access machine D. Now I'm using rdp to P, and then launch rdp to D. That's not convenient. What I wanted to do, is forward rdp from D to my local machine over P.

netsh.exe interface portproxy add v4tov4 listenport=33891 connectport=3389 connectaddress=192.168.120.6

But when I try to connect using rdp to 192.168.0.120:33891 it fails. Telnet also can't open port 33891. So, port forwarding doesn't work.

I'll appreciate any suggestions, Thank you !

Was it helpful?

Solution

Please use this tool Port Redirection with Windows

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top