You can add and configure VPN connections for devices using Microsoft Intune.
So, I have updated all the network drivers (mine is HP and downloaded all the drivers from the official HP support) on my PC and since then I am using the Cisco Anyconnect (.exe) instead of Windows store one and everything is back to normal.Windows 10 and Windows Holographic device settings to add VPN connections using Intune This had fixed connecting to the internet from WSL, however, VPN keeps on disconnecting after 4-6 hours.
You should see the list of devices quickly refresh and then the deleted miniports should be there again.
download and reinstall anyconnect from Windows Store.I have exactly same issue and solved it by Powershell Get-DnsClientServerAddress -> Ethernet 2 6 IPv4 | Set-NetIPInterface -InterfaceMetric 6000 is needed each time you reconnect the VPN.WSL2 echo -e "\ngenerateResolvConf = false" | sudo tee /etc/wsl.conf.VPN is on 172.17.15.206/32 and WSL is on there's an simplified version on the source you've liked I don't think the VPN and vEthernet adapters are clashing.
: 192.168.8.1Įthernet adapter Bluetooth Network Connection: Wireless LAN adapter Local Area Connection* 2: Wireless LAN adapter Local Area Connection* 1: Ipconfig from Windows (while I have the VPN initiated Link/ether 3e:20:cb:a5:6f:8f brd ff:ff:ff:ff:ff:ffĤ: mtu 1480 qdisc noop state DOWN group default qlen 1000ĥ: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 Link/ether 3a:01:48:88:dc:a3 brd ff:ff:ff:ff:ff:ffģ: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 TX errors 0 dropped 0 overruns 0 carrier 0 collisions ping TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 I suspect there is a problem with NAT (on Hyper-V default switch)Īdditionally: on wsl1 everything worked fine (also when VPN enabled)Ĭurrently on wsl2 it looks like this ifconfig When I don't use VPN on windows, everything is fine - I have internet connection on windows and wsl2 ubuntu.īut when established connection via VPN (on windows) then on windows still is OK - I have both internet and vpn connection, but on Ubuntu there is no network connection at all (no internet, no vpn access). 2004 (build 19041) with UBUNTU linux on WSL2.