Skip to content

Instantly share code, notes, and snippets.

@leveled
Created February 10, 2021 00:52
Show Gist options
  • Save leveled/e25852e43c811fc9514c96f6acbf2ed5 to your computer and use it in GitHub Desktop.
Save leveled/e25852e43c811fc9514c96f6acbf2ed5 to your computer and use it in GitHub Desktop.
Setting up SOCKS proxy on Windows CLI
netsh interface portproxy add v4tov4 listenport=8080 listenaddress=0.0.0.0 connectport=80 connectaddress=x.x.x.x
#Add Windows Firewall rule if necessary
netsh advfirewall firewall add rule name="Totally Legit Rule" dir=in action=allow protocol=TCP localport=8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment