Windows 10 - Port forward

July 28, 2020 0 Comments windows10, port-forward, vpn, pain

So many VPNs, so much pain

Hi guys!

I don't know what you think, but being a Mac user with the need to use windows to connect to enteprisish VPNs (essentially when they block VPNs from MacOS) i find the matryoshka of connections very uncomfortable.

When life gives you lemons, make lemonade

What to to then?

Fire up your cmd or powershell and enter:

netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=20000 connectaddress=10.0.100.20 connectport=3389  

This will create a port forward from windows in the port 20000 to the destination ip 10.0.100.20 on port 3389.

This way you can connect from your Mac to the windows vm port! :)

Be sure to disable windows firewall or to create the rules accordingly.

Banner image from Jim Benton

Samuele Chiocca
Padova, italy Website