Skip to content

Instantly share code, notes, and snippets.

@abdulhadad
Created March 2, 2018 07:47
Show Gist options
  • Save abdulhadad/c57b3d37688afff98dc7e6cf00d899b8 to your computer and use it in GitHub Desktop.
Save abdulhadad/c57b3d37688afff98dc7e6cf00d899b8 to your computer and use it in GitHub Desktop.
Windows 10 port forwarding notes

Start port forwarding

netsh interface portproxy add v4tov4 listenport=9090 listenaddress=0.0.0.0 connectport=9090 connectaddress=10.17.18.232

Remove port forwarding

netsh interface portproxy delete v4tov4 listenport=9090 listenaddress=0.0.0.0

Notes

  • Combine with Windows10 Hostsport feature for Mobile devices access
  • Alternative: tcpmon, apache proxy pass or other debugging proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment