Edit or create the file /etc/wsl.conf and add the lines below [interop]appendWindowsPath = false May need to restart WSL from Powershell to work wslconfig /l to get distribution name wslconfig /t [distribution name] Restart WSL Microsoft docs: https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/ https://learn.microsoft.com/en-us/windows/wsl/wsl-config
Tag: ubuntu
IP Forwarding and Masquerading in Linux Using UFW
In this example we have 2 private subnets 192.168.1.0/24 and 172.16.1.0/24 where only 192.168.1.xxx addresses can directly access the router at 192.168.1.1. We want to access the internet from both subnets. We need a machine connected to both networks and allow IP forwarding from 172.16.1.0/24 to 192.168.1.0/24. Although probably better with 2 NICs it can […]
Linux Proxy Server Setup For Internet Access
To allow global internet access through a proxy server you can add the code below to the file /etc/bash.bashrc. export http_proxy=http://10.0.4.1:3128 To have immediate effect without need for a reboot type: source /etc/bash.bashrc For temporary http proxy just type export http_proxy=”http://10.0.0.0.:3128″ Tested with Debian distros