r/linuxquestions • • 11d ago

Support VPN doesn't work on Linux Mint?

I've tried the proton app and the mullvad app. I could connect to the VPN but then I couldn't search anything up...

I also tried the manual wireguard configuration, but I had the same issue. What should I do?

0 Upvotes

23 comments sorted by

2

u/Cyber_Faustao 11d ago

Inspect the contents of /etc/resolv.conf. if it has been tampered with you need to revert those changes, ie, make it point to your system's built in resolver (if any, like systemd-resolved), or your ISPs DNS.

Then remove all third-party VPN apps from your system, they are all garbage. Use the built-in integrations of WireGuard in NetworkManager (import the wg.conf file there). Banish openresolv from your system too.

1

u/[deleted] 11d ago

Thanks for your response. After a very long convo with ChatGPT (I'm a noob and needed it to explain how to do stuff in the terminal), I figured out that disabling IPv6 in librewolf solved the problem! Idk why though. 

1

u/Cyber_Faustao 11d ago

Disabling IPv6 is never the solution. It just masks the issue. And no IPv6 means you are forced to use the older IPv4 protocol, which apart from being bad for the scalability of the internet, may also make certain sites slower.

Instead, run "ip -br a" in your system after connecting to the VPN. And also "ip -6 route" and "ip -4 route", then share the results. It is probably your tunnel not providing a IPv6 address like it should.

1

u/[deleted] 11d ago

These were the results:

person@Laptop:~$ ip -br a

lo UNKNOWN 127.0.0.1/8 ::1/128

wlo1 UP 192.168.12.156/24 fdfe:5e6c:2e69:98de:378c:5252:ff28:8b99/128 fdfe:5e6c:2e69:98de:2ff1:e8ca:27b1:de5a/64 fdfe:5e6c:2e69:98de:b9ac:522a:f29c:9ad/64 2607:fb90:1742:3515:2e0a:36ec:a357:fc58/64 2607:fb90:1742:3515:6869:c4ce:c1d:eb35/64 fe80::ca9e:3c1e:e82d:421b/64

ipv6leakintrf0 UNKNOWN fdeb:446c:912d:8da::/64 fe80::24f4:da4a:ae54:2abe/64

proton0 UNKNOWN 10.2.0.2/32 2a07:b944::2:2/128 fe80::91d9:1251:d7c3:ddb/64

person@Laptop:~$ ip -6 route

2607:fb90:1742:3515::/64 dev wlo1 proto ra metric 600 pref medium

2a07:b944::2:2 dev proton0 proto kernel metric 50 pref medium

fdeb:446c:912d:8da::/64 dev ipv6leakintrf0 proto kernel metric 95 pref medium

fdfe:5e6c:2e69:98de:378c:5252:ff28:8b99 dev wlo1 proto kernel metric 600 pref medium

fdfe:5e6c:2e69:98de::/64 dev wlo1 proto ra metric 600 pref medium

fe80::/64 dev ipv6leakintrf0 proto kernel metric 1024 pref medium

2fe80::/64 dev proton0 proto kernel metric 1024 pref medium

fe80::/64 dev wlo1 proto kernel metric 1024 pref medium

default via fdeb:446c:912d:8da::1 dev ipv6leakintrf0 proto static metric 95 pref medium

default via fe80::aedf:9fff:feab:d152 dev wlo1 proto ra metric 600 pref medium

person@Laptop:~$ ip -4 route

default via 192.168.12.1 dev wlo1 proto dhcp src 192.168.12.156 metric 600

37.19.221.199 via 192.168.12.1 dev wlo1 proto static metric 600

91.207.174.2 via 192.168.12.1 dev wlo1 proto static metric 600

151.243.141.159 via 192.168.12.1 dev wlo1 proto static metric 600

192.168.12.0/24 dev wlo1 proto kernel scope link src 192.168.12.156 metric 600

2

u/Weird-Initiative-659 10d ago

Looks like Proton is up and running?

1

u/[deleted] 10d ago

Yeah, but unless I disable IPv6 in LibreWolf (and any browser), every time I try to look anything up or go to any website, I get a "the connection timed out" or "site couldn't be reached". 

1

u/Weird-Initiative-659 10d ago

Ok, well, lets try this from a different angle. What did you install for a client currently? Both Mullval and Proton? I only have IPv4 myself so, I guess we are in the same boat. Let me keep searching

1

u/[deleted] 10d ago

Right now, I have the proton vpn app. But i had the same issue before for mullvad too (before installing mullvad VPN, I uninstalled proton VPN). 

1

u/Weird-Initiative-659 10d ago

what distro are you using. It's different everywhere

1

u/[deleted] 10d ago

Linux Mint Cinnamon

→ More replies

1

u/Weird-Initiative-659 10d ago

arch for instance has a different package name than debian.

1

u/Weird-Initiative-659 10d ago

go here: https://whatismyipaddress.com/ and look at the map. Where are you?

1

u/Cyber_Faustao 4d ago

Sorry for the late reply, life happnened and I couldn't debug high-complexity stuff like this before now.

Anyways, you are using the first-party ProtonVPN program. I recommend you never use VPN programs from the VPN providers, in your case it is porobably not the direct cause but may be related. Can you please try just pure WireGuard with wg-quick or the NetworkManager integration of wireguard and confirm wether the issue doesn't happen anymore (after restarting the system and not enabling/using the VPN's first-party APP).

It looks like there is a ipv6 leak protection enabled, can you show us the firewall logs with "sudo iptables -L" and "sudo nft list ruleset" (output may be large, use dpaste.com and share the link).

1

u/[deleted] 11d ago

I once had the exact same issue. Turns out, it wasn't about the VPN. It was because I had two network-altering programs. One Mullvad and one Tailscale. Disabling Tailscale got Mullvad to work.

So check if you have anything that might be altering your network. If you find one, try disabling it.