namespace | description | categories | language | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
VPN |
Notes about using a virtual private network on PantherX |
|
en |
Tip: Before you get started, note your current public IP with curl https://my-ip.pantherx.org
.
Generate a WireGuard configuration in your Mullvad account (https://mullvad.net/en/account/#/wireguard-config/):
- Select "Linux"
- Generate a WireGuard key
- Select one exit location (ex. Germany, Frankfurt, de12-wireguard)
- Download file
You now have a mlvd-de12.conf
in your Downloads folder and two options:
- Import to Network Manager (connects automatically; reconnects on reboot)
- Run manually via
wg-quick
To import to Network Manager, do:
$ nmcli connection import type wireguard file mlvd-de12.conf
That's it! To verify you're connected, you can do one of two (many) things:
- Run
ip address
and look formlvd-de12
.- verify that an IP has been assigned: ex.
inet 10.**.**.**/32
- check whether your public IP has changed:
curl https://my-ip.pantherx.org
- verify that an IP has been assigned: ex.
- Check Mullvad's own "Connection Check" here (https://mullvad.net/en/check/)
- Run
nmcli
and ensure that:mlvd-de12: connected to mlvd-de12
To remove this connection, simply run:
$ nmcli connection delete mlvd-se8
Connection 'mlvd-se8' (acf9afff-d380-4d86-99b9-529a8b5c76ef) successfully deleted.
Generate a OpenVPN configuration in your Mullvad account (https://mullvad.net/en/account/#/openvpn-config/):
- Select "Android/Chrome OS"
- Select Country and City
- Download file
Add it to Network Manager
Open Menu > Settings > Advanced networking and look for the "+" at the bottom of the screen, to add a new connection
Select "Import a saved VPN configuration"
{% include snippets/screenshot.html image='vpn/ovpn-import-saved.png' alt="Import OpenVPN connection to Network Manager" %}
The username is your Mullvad account number, the password is m
.
{% include snippets/screenshot.html image='vpn/ovpn-add-username-password.png' alt="Add Mullvad username and password to OpenVPN connection in Network Manager" %}
After you add the connection, you may want to connect to it automatically:
- Close the OpenVPN config
- Select the network you wish to associate with the VPN, from the overview
- Select "Automatically connect to VPN" and the VPN (for ex.
mullvad_se_all
) and save
{% include snippets/screenshot.html image='vpn/ovpn-connect-automatically.png' alt="Automatically connect to OpenVPN with Network Manager" %}
Look for Network Manager in the task bar, left click on the icon, and look for "VPN Connections"
{% include snippets/screenshot.html image='vpn/ovpn-connect-manually.png' alt="Manually connect to OpenVPN with Network Manager" %}
Generate a new config here: https://www.ivpn.net/openvpn-config and download and extract it (right click: extract here).
Add it to Network Manager
Open Menu > Settings > Advanced networking and look for the "+" at the bottom of the screen, to add a new connection.
Select "Import a saved VPN configuration" and look for the .ovpn
file in the folder extracted previously.
The username is your accont ID (‘ivpnXXXXXXXX’ or ‘i-XXXX-XXXX-XXXX’) and any password.