Skip to content

Instantly share code, notes, and snippets.

@ash2shukla
Created February 21, 2022 14:55
Show Gist options
  • Save ash2shukla/457fa22f057b1e580a63875422b3bd36 to your computer and use it in GitHub Desktop.
Save ash2shukla/457fa22f057b1e580a63875422b3bd36 to your computer and use it in GitHub Desktop.
netsh advfirewall firewall add rule name="Allowing LAN connections" dir=in action=allow protocol=TCP localport=9999
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=9999 connectaddress=localhost connectport=9999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment