I wanted to switch from Mullvad to IVPN.
As IVPN has an official Qubes guide I tried that first (IVPN on Qubes OS - IVPN Help)
but I couldn’t get it working correctly (dns leaked)
So I tried to make it work through the mullvad guide (WireGuard on Qubes OS - Guides | Mullvad VPN)
This worked fine for me in the past ( had many connections issues but it connected)
But wg-quick for some reason refuses to work with my ivpn config files. First, I can’t start them from the home dir ( invalid name, or can’t find it). Only works when I copy them to /etc/wireguard/. But even then I can’t get Internet through the proxy VM.
Would also be nice if I can get port forwarding to work and the connection issues resolved (maybe because ICMP is disabled? I have hybrid Internet via. DSL and LTE when I force connection through DSL most issues go away(Also does blocking ICMP improve privacy?)
How do I troubleshoot this? Are there better way’s to get VPN working?
I know obviously almost nothing about networking and have wasted dozens of hours on this issue.
If you already have the VPN configuration file, you could spin a VPN Qube with fedora-38 (latest fedora available right now) and import the configuration file in its network manager.
I wrote a bit about using wireguard this way earlier this week Wireguard VPN setup
Did you change virtualif to your VPN qube vif IP?
Also do you have Qubes OS 4.1 or Qubes OS 4.2?
If it’s Qubes 4.2 then you’ll need to use nftables instead of iptables:
But blocking all ICMP outright can break something in your connections and then you’ll be stuck figuring out why do you have problems with connection.
I’d at least allow path MTU discovery.
I don’t know which IVPN DNS you should use. You can ask IVPN about it.
You can try to use public DNS (9.9.9.9 / 1.1.1.1 / 8.8.8.8 / etc) to check if the problem is with DNS server IP or somewhere else.
This is not just an issue with ivpn. Just tried it with proton same issue. Only mullvad works
Changed the dns in the wireguard config and the dns hijacking scriipt restarted and run the commands. Still no dns
I did not add these rules. Sorry did i mention that I have the ivpn-proxy behind a mullvad-proxy (with the exact mullvad setup). I only tried to get it working behind the mullvad-proxy. I guess that might be the issue? But the GUI client from IVPN worked fine. Just leaked the mullvad DNS… Almost the same as the current config…
I shows connection established but dig still returns nothing. So the same as the mullvad guide I guess. Curl ip.me also works… i should mention that tasket-ivpn is behind mullvad-proxy. I will convert mullvad also to tasket… wait
Tasket behind Tasket gives the same error…
Just IVPN in tasket gives also no dig reply…