netsh interface portproxy add v4tov4 listenport=4000 listenaddress=0.0.0.0 connectport=4000 connectaddress=$(wsl.exe hostname -I)Purpose: forwards all incoming network traffic (0.0.0.0) on port 4000 to $(wsl.exe hostname -I) at the same port
- view
netsh interface portproxy show all- delete