Port Forwarding with Windows Netsh
June 24, 2024

Connect to the htb-student or the pivot machine
remmina

Run cmd as admin
First we have to find the subnet of pivot machine
ipconfig

netsh.exe interface portproxy add v4tov4 listenport=8080 listenaddress=10.129.42.198
connectport=3389 connectaddress=172.16.5.19
netsh.exe interface portproxy show v4tov4

xfreerdp /v:10.129.42.198:8080 /u:victor /p:pass@123

Last updated