Skip to content

Instantly share code, notes, and snippets.

@Xunnamius
Created May 6, 2020 16:52
Show Gist options
  • Save Xunnamius/f3fcaaa92f1fe4d061ced91fa17498af to your computer and use it in GitHub Desktop.
Save Xunnamius/f3fcaaa92f1fe4d061ced91fa17498af to your computer and use it in GitHub Desktop.
WSL2 External Host (LAN) Access Workaround

Step 1: netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=3000 connectaddress=localhost connectport=3000
Step 2: Add Allow local routing to ports 3000-4000 rule to Windows Firewall's inbound connection ruleset

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