Skip to content

Instantly share code, notes, and snippets.

@ichramm
Last active July 24, 2020 17:00
Show Gist options
  • Save ichramm/495cd33789f7b787b5a4c06f00562767 to your computer and use it in GitHub Desktop.
Save ichramm/495cd33789f7b787b5a4c06f00562767 to your computer and use it in GitHub Desktop.
Port Forwarding in Windows
netsh interface portproxy add v4tov4 listenport=10022 listenaddress=0.0.0.0 connectport=22 connectaddress=192.168.1.1
netsh interface portproxy show all
#netsh interface portproxy delete v4tov4 listenaddress=0.0.0.0 listenport=10022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment