wsl-host-listen
v1.1.0
Published
A tool to access wsl host from LAN.
Downloads
183
Maintainers
Readme
wsl-host-listen
Description
wsl-host-listen
is a utility designed to enable access to Windows Subsystem for Linux (WSL) from
local area networks.
This tool streamlines the installation process of wslhostpatcher.
Usage
To use wsl-host-listen
, you can execute it via npm:
npx wsl-host-listen
Note: This command needs to be re-run for each new WSL instance.
Recommendations
This tool is intended as a quick and easy workaround, but it's important to consider more permanent solutions.
If your setup allows for it consider using netsh
to add a port proxy:
netsh interface portproxy add v4tov4 listenport=<yourPortToForward> listenaddress=0.0.0.0 connectport=<yourPortToConnectToInWSL> connectaddress=(wsl hostname -I)
For more information, check out the Microsoft documentation. Alternatively you can set up mirrored mode networking.