Skip to content

Instantly share code, notes, and snippets.

@weeksdev
Created April 1, 2019 17:15
Show Gist options
  • Save weeksdev/aa5ed186b26321a0e53179a24f7e0611 to your computer and use it in GitHub Desktop.
Save weeksdev/aa5ed186b26321a0e53179a24f7e0611 to your computer and use it in GitHub Desktop.
NETSH PORT PROXY

Creating a proxy netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=[LOCAL_PORT] connectaddress=[REMOTE_SERVER_NAME] connectport=[REMOTE_SERVER_PORT]

Delete the proxy netsh interface portproxy delete v4tov4 listenport=[LOCAL_PORT] listenaddress=0.0.0.0

Show All Proxies netsh interface portproxy show all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment