Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow WSL programs through firewall #3033
I've been looking for an answer to this for a bit, and I've come upon a few things, #2064, https://stackoverflow.com/questions/43808089/add-wsl-to-windows-firewall, but they didn't really answer my question. Basically, is there a way that you can whitelist any inbound network traffic through to a WSL program? Yeah, you can do it with opening a single port, but is there any way to enable it for all of bash/WSL? Whitelisting C:\Windows\System32\bash.exe doesn't work, is there some other program or another method to allow this?