Skip to content

Instantly share code, notes, and snippets.

@cmdoptesc
Created June 26, 2018 01:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmdoptesc/b21a83332b6842272a7d6ef953e079c4 to your computer and use it in GitHub Desktop.
Save cmdoptesc/b21a83332b6842272a7d6ef953e079c4 to your computer and use it in GitHub Desktop.
Windows port/address forwarding with netsh
netsh interface portproxy show all
netsh interface portproxy add v4tov4 listenport=8081 listenaddress=127.0.0.1 connectport=8081 connectaddress=[remote-ip]
netsh interface portproxy reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment