Linux under WSL2 can be leaking
41–50 of 194 posts
Re: Linux under WSL2 can be leaking
#42Other interesting note, Docker Windows does some funky stuff with firewalls too. It puts and any/any exception in the firewall when you install it [1]. So may also be important to know with VPN stuff.
[1] https://twitter.com/richturn_ms/status/1270766764356366336
Re: Linux under WSL2 can be leaking
#43This is the exact reason I didn't try running weird VPN configs like this. The reliable way is to run Linux inside a VirtualBox and have it connected to VPN on its own. Currently, I run Linux on a Xen domU and configure VPN client inside the guest. PS: I don't want all my traffic to go through VPN. Especially things like Netflix or Youtube where VPNs are blocked (and VPN BW is lower anyway).
You can set up a docker vpn client as well
Re: Linux under WSL2 can be leaking
#44Earlier quoted context omitted.
Did you consider the average pollution of bitcoin transactions?
Good question. OTOH, did anyone ever consider the average pollution of the banking system? 10.000th of banks, 200+ central banks, BIS, IMF, ECB, etc, etc. Millions of employees, millions of desktops & servers, day-in-day out. Anyone with a link to a guestimate?
Re: Linux under WSL2 can be leaking
#45Earlier quoted context omitted.
Did you consider the average pollution of bitcoin transactions?
Good question. OTOH, did anyone ever consider the average pollution of the banking system? 10.000th of banks, 200+ central banks, BIS, IMF, ECB, etc, etc. Millions of employees, millions of desktops & servers, day-in-day out. Anyone with a link to a guestimate?
A Bitcoin transaction uses about 1,005 kWh, while 100,000 VISA transactions use 169 kWh, according to https://www.statista.com/statistics/881541/bitcoin-energy-co...
Re: Linux under WSL2 can be leaking
#46Earlier quoted context omitted.
>It's strange tcpdump doesn't run though as WSL2 is running a real kernel. It works just fine. Just tested it
Try dumping UDP packets from the host to the WSL machine...
Re: Linux under WSL2 can be leaking
#47Using WSL should be a very last resort anyway. Just use Linux straight on your hardware if you have a choice and ditch Windows.
Why? In my opinion Linux desktop environments are terrible compared to Windows. How's the display scaling these days? Is it still a better experience to run a 4k monitor at a lower resolution? What's the Nvidia driver situation? Still janky because their drivers are doing their own thing?
I think there are great desktop environments and window managers for Linux.
Re: Linux under WSL2 can be leaking
#48Earlier quoted context omitted.
Good question. OTOH, did anyone ever consider the average pollution of the banking system? 10.000th of banks, 200+ central banks, BIS, IMF, ECB, etc, etc. Millions of employees, millions of desktops & servers, day-in-day out. Anyone with a link to a guestimate?
There's no way that a single $6 credit card transaction uses as much energy as sending $6 worth of bitcoin, which is the relevant measure.
Re: Linux under WSL2 can be leaking
#49Using WSL should be a very last resort anyway. Just use Linux straight on your hardware if you have a choice and ditch Windows.
Re: Linux under WSL2 can be leaking
#50The title is wrong. The VPN traffic does NOT leak. What leaks is the traffic that the VPN software tries to block when the VPN connection is not active. Mullvad uses Windows Firewall to block all internet access if VPN is not active (if the user configured so) and WSL2 bypasses this by not going through Windows Firewall. When the VPN is active, WSL2 traffic IS tunneled through the VPN. UPD: The solution may be to hav…