mullvad / mullvadvpn-app

The Mullvad VPN client app for desktop and mobile
https://mullvad.net/
GNU General Public License v3.0
5.13k stars 342 forks source link

unable to connect AppVMs in qubesOS 4.0.4 #2865

Open mullvadqubesuser opened 3 years ago

mullvadqubesuser commented 3 years ago

Qubes OS 4.0.4 in a debian 10 VM Mullvad 2021.4

When i connect other VMs to my Mullvad VM, they wont connect to the internet but the Mullvad VM connects just fine. same problem happens in a fedora VM. I didnt have this problem with 2020.3.

Minimalist73 commented 3 years ago

I got that issue a few weeks ago, it's a DNS problem, I've been able to fix it with the following (in the ProxyVM):

iptables -t nat -I PR-QBS -i vif+ -p udp --dport 53 -j DNAT --to [DNS]

If you use OpenVPN, make sure to stay on the same port (in advanced settings), since you need to stick the rule to a DNS IP, each port have a different subnet (10.x.0.1). To know what's the IP, do cat /etc/resolv.conf when connected to Mullvad on the ProxyVM.

Instead, if you use Wireguard, 10.64.0.1 should be fine since it's a static one.