Skip to content

Instantly share code, notes, and snippets.

@andrewvmail
Created April 22, 2022 05:39
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 andrewvmail/666ec753a3f1281856da60055bffda05 to your computer and use it in GitHub Desktop.
Save andrewvmail/666ec753a3f1281856da60055bffda05 to your computer and use it in GitHub Desktop.
forward-to-wsl.md

netsh interface portproxy add v4tov4 listenport=3000 listenaddress=0.0.0.0 connectport=3000 connectaddress=172.29.81.153

netsh advfirewall firewall add rule name= "Open Port 3000" dir=in action=allow protocol=TCP localport=3000

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