Mullvad

One of the very few trustworthy VPN services out there: https://mullvad.net

Connecting from the CLI

To connect to Mullvad VPN via the wireguard protocol, run

# wg-quick up /etc/wireguard/selected-server.conf

Then check whether you're successfully connected with

$ curl https://am.i.mullvad.net/connected

To disconnect, run

# wg-quick down /etc/wireguard/selected-server.conf

Connecting via Network Manager

Alternatively, you can setup VPN connections in nmcli:

Configure a connection with:

nmcli connection import type wireguard file <path/to/wireguard.conf>

To connect, use:

nmcli connection up <wireguard-config-name>

To disconnect, use:

nmcli connection down <wireguard-config-name>

If you want to enable/disable autoconnect, use:

nmcli connection modify <wireguard-config-name> autoconnect no|yes

See also