I have a StandaloneVM where I’ve setup a Linux GUI VPN client of my VPN provider (call it vpn-vm). I set it up there just like any other normie Linux user would. I’m btw just a normie who wants to install the normal GUI app.
My AppVMs connect to this vpn-vm for their networking.
Most of the time this works just fine. However:
Every time I disconnect (hit “disconnect” in the GUI client) and reconnect (to reconnect to a different country), my AppVMs lose the internet connection.
When this problem occurs, restarting the vpn-vm always solves the problem.
Any ideas what could be happening? I know it’s a DNS issue because on my AppVM “ping 184.108.40.206” works but “ping www.google.com” doesn’t work.
As a normie that’s all I know. Can someone assist pinpointing the problem? I’m on Qubes 4.1.
I’m using the Mullvad GUI client. In my “vpn-vm” settings, I see “network-manager” checkbox is checked. In the Mullvad GUI client, I have Wireguard checked.
Btw, I really want to just continue Mullvad GUI client (instead of doing a purely Terminal-based setup). Indeed it works fine usually. The problem is to figure out why the DNS disconnects as I outlined.
Wireguard should always use the same DNS IP server (10.64.0.1), so it’s strange that it doesn’t work when you change servers. Network Manager is responsible for DNS working in your setup as it creates rules based on what it sees as DNS. Can you replicate the DNS problem and then run the following command to see if it still uses the correct IP?
I guess your VPN app was propagating a new DNS only available through the VPN. So when you disconnect it, the DNS isn’t reachable anymore (you could check which DNS is being used before / after the VPN disconnect and after the command).
At the end of your main post you said you were running Qubes 4.1 which uses iptables. If the table is not found, it would mean you don’t have it, or you didn’t run the command in the VPN qube, or you are running Qubes 4.2, which uses nftables.