Please use this tool Port Redirection with Windows
forwarding rdp traffic using netsh
-
31-05-2022 - |
Pergunta
I'm trying to set up port forwarding on windows machine. I have the following setup:
- Machine P with ip address 192.168.0.120 that is reachable from my network
- 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 !
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow