Created
August 2, 2020 13:20
-
-
Save linxlunx/cee0194f98b9deb26c23f75a5a81363f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# forward from windows to wsl | |
netsh interface portproxy add v4tov4 listenport=8000 listenaddress=0.0.0.0 connectport=8000 connectaddress=127.0.0.1 | |
# remove forwarding | |
netsh interface portproxy delete v4tov4 listenport=8000 listenaddress=0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment