I am trying to configure port forwarding on a windows machine. I have the following setup:
- Machine P with an IP address of 192.168.0.120 accessible from my network.
- Machine D with an IP address of 192.168.120.6, accessible only from Computer D.
I need to access machine D. Now I use rdp for P , and then run rdp to D. It is not comfortable. What I wanted to do was forward rdp from D to my local machine via 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{3891, it fails. Telnet also cannot open port 33891. Therefore, port forwarding does not work.
I would be grateful for any suggestions, thanks!
source share