You are not logged in.

#1 2021-09-05 15:46:40

greatBigDot
Member
Registered: 2018-06-29
Posts: 2

Can't connect to internet when trying to use Mozilla VPN

I'm trying to use mozillavpn . I signed up, installed it, restarted, signed in, and turned it on. The Mozilla VPN GUI says it's connected, but I can't connect to any website. I use iwd for network stuff.

What I figured out:

  • Although `ip link` outputs both the usual `wlan0` and the new `moz0` interfaces, for some reason `iwctl station list` only lists `wlan0`. (`iw dev` also only lists `wlan0`.) I tried restarting the iwd service (and systemd-resolved) but that didn't help; it still doesn't seem to know about the VPN.

  • `ping 8.8.8.8` works fine; `ping example.com` says "Name or service not known". So I guess the problem is in the DNS lookup?

I'm a total noob here. Do I need to do something with openvpn, or edit some configuration file somewhere?

Possibly relevant info:

$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
29: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether ##:##:##:##:##:## brd ff:ff:ff:ff:ff:ff
30: moz0: <POINTOPOINT,NOARP,PROMISC,DEBUG,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/none 

$ systemctl status systemd-resolved
[...]
systemd-resolved[70382]: moz0: Bus client set DNS server list to: 10.64.0.1
systemd-resolved[70382]: moz0: Bus client set default route setting: yes
systemd-resolved[70382]: moz0: Bus client set search domain list to: ~.
systemd-resolved[70382]: moz0: Bus client set DNS server list to: 10.64.0.1
systemd-resolved[70382]: moz0: Bus client set default route setting: yes
systemd-resolved[70382]: moz0: Bus client set search domain list to: ~.

$ ls -l /etc/resolv.conf
/etc/resolv.conf -> /run/systemd/resolve/resolv.conf

$ cat /etc/resolv.conf
# [...]
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 159.91.14.83
# Too many DNS servers configured, the following entries may be ignored.
nameserver 159.91.14.84
nameserver 10.64.0.1
search .

That comment in `resolv.conf` looks problematic. I tried replacing the symlink with a new resolv.conf that had 10.64.0.1 at the top (since that seems to be what the VPN wants to use). But even after restarting all the services that didn't change anything, as far as I can tell.

Last edited by greatBigDot (2021-09-05 16:19:38)

Offline

#2 2021-09-10 10:59:49

Gregosky
Member
From: UK
Registered: 2013-07-26
Posts: 184

Re: Can't connect to internet when trying to use Mozilla VPN

What is the output of below?

ip route

I have never used mozilla VPN before, but if I want to pump my traffic through OpenVPN I always add below to my config:

dhcp-option DOMAIN-ROUTE .
redirect-gateway autolocal

Last edited by Gregosky (2021-09-10 11:00:25)

Offline

Board footer

Powered by FluxBB