Difference between revisions of "WSL - Windows Subsystem for Linux"
Line 1: | Line 1: | ||
+ | https://docs.microsoft.com/en-us/windows/wsl/kernel-release-notes | ||
+ | = systemd = | ||
Brug af systemd under WSL | Brug af systemd under WSL | ||
* https://github.com/shayne/wsl2-hacks | * https://github.com/shayne/wsl2-hacks |
Revision as of 09:42, 30 September 2021
https://docs.microsoft.com/en-us/windows/wsl/kernel-release-notes
systemd
Brug af systemd under WSL
OR
network
you can have services listen on *:<port> inside WSL and access the services from windows
sshuttle works under WSL (rembember that sshuttle only handles TCP - so forget UDP+ICMP !) but the traffic redirection is done in iptables within wsl - so windows applications can't use it
BUT
you can eg install squid http proxy inside WSL and configure your browser to use localhost:3128 for proxy, and thereby force your req to go into wsl and from there be able to utilize the sshuttle tunnel
if you combine this with a local https://en.wikipedia.org/wiki/Proxy_auto-config file and use file:///c:/path-to-your-pac in your browser you can specify which hosts to route to squid
docker
Docker desktop integrates with WSL(2) but the native docker package will not work within wsl2
Docker Desktop has recently changed license - so it might be time to look into podman instead ?