Maroka-chan / VPN-Confinement

A NixOS module which lets you route traffic from systemd services through a VPN while preventing DNS leaks.
GNU General Public License v3.0
84 stars 2 forks source link

DNS doesn't work with AirVPN DNS #20

Open rasmus-kirk opened 3 weeks ago

rasmus-kirk commented 3 weeks ago

Describe the bug The DNS provided by AirVPN doesn't work. This has been reproduced in different Nixarr configurations. I get the same bug if I remove Nixarr completely from my machine and just run this VPN-module.

See the related Nixarr issue

marnas commented 2 weeks ago

I had a similar issue with mullvad vpn, all torrents were giving me an error Couldn't connect to tracker. Not sure if it's the best/right approach, but I have managed to sort it out using a different DNS (9.9.9.9) in the wireguard.conf file provided by mullvad.

Maroka-chan commented 1 week ago

I haven't encountered this problem myself, but running some diagnostics could help pinpoint where the packets are dropped. Could you try running the following command?

sudo ip netns exec wg bash -c "nslookup google.com; dig google.com; traceroute google.com; iptables -nvL"

Hopefully this will give some insights.