How to set up Mozilla VPN?

Hi everyone,
how can I set up Mozilla VPN on Beryl? I’m a developer, but with limited knowledge of networking and in particular VPN. I’ve found GitHub - NilsIrl/MozWire: MozWire is an unofficial configuration manager giving Linux, macOS users (among others), access to MozillaVPN. and tried coping config generated by mozwire relay save into manual Wireguard config textbox, but it didn’t seem to work

Thank,
Aleksander

1 Like

What messages are displayed when it does not work? Can you post screenshots and also the config file (with keys redacted)?

I do not work for and I am not directly associated with GL.iNet

Yes. Can you post the config to check? You mark the keys.

There is no connection to the internet and there is yellow dot next to VPN menu item

[Interface]
PrivateKey = 
Address = 10.109.150.247/32,fc00:bbbb:bbbb:bb01::2e:96f6/128
DNS = 10.64.0.1

[Peer]
PublicKey = 
AllowedIPs = 0.0.0.0/0,::0/0
Endpoint = 89.44.10.114:51820

If there are any logs available, I don’t know how to find them. Private and public keys are different each time I run mozwire relay save. Is it expected? Am I supposed to be connected to VPN when running this command?

The othe mozwire command group is mozwire device *. Should I somehow createa a new device and pass it on when doing mozwire relay save?

Can you add the following line at the end of [peer] section and try?

PersistentKeepalive = 25

If each time mozwire generate new key, then the old key may be invalided.