Set up a VPN connection in System Settings, Network Connections.
Press the + to add a new connection.
Scroll to the very bottom and chose “import new connection” and choose your downloaded openVPN config file. I used UDP but TCP might also work.
Enter your username, password, and select store for all users or single user, if you want to be prompted for your password each time.
EDIT - thanks to a user comment (Musicguy182), I learned that NordVPN no longer uses your email and password for OpenVPN. If this is your VPN provider, log in to your account, go to Services, Nord VPN, then manual setup. Your credentials to use will be generated there.
Save. When you try to connect, it should say VPN Plugin is missing.
To fix this, you need to run some konsole commands that modify the filesystem.
I created these into a script for myself so I could do it painlessly after each system update, as the updates will remove this plugin.
**Make sure you have a sudo password set before beginning!** You can type passwd
to do this. You never see what you’re typing as you’re entering a password; be careful. Press enter after each line, they’re separate commands.
sudo steamos-readonly disable
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman -S networkmanager-openvpn
sudo steamos-readonly enable
Install packages when it asks (Y) or (N).
Now the OpenVPN plugin should be installed and your connection should work.
Then if you want, you can create additional scripts to add as non-Steam games to enable and disable your VPN connection in game mode.
nmcli connection up "Connection Name"
(This enables the connection).
nmcli connection down "Connection Name"
(This disables it)
Connection name is whatever it’s called in Network Connections. I changed mine to NordVPN (Toronto), but obviously choose whatever you like.
If you want to make them into scripts, add the above texts, but preface it with:
#!/usr/bin/bash
on its own line at the start of the file in kwrite.
Save the file as whateveryouwant.sh, and then edit the properties to make them executable.
If you add them to Steam you can add you own artwork and access them in Game Mode, meaning you don’t have to always go over to Desktop Mode to activate your VPN.
Sleep and Resume disables the connection, so it’s a beneficial way to turn it back on quickly.
If you ALWAYS want the VPN active on a connection, then you can set that in desktop mode in Network Settings and it’ll autoconnect when resuming from sleep.
Edit - adding this section in case anyone comes across the issue of /usr being read-only and saying not enough free disk space, despite disabling read-only in the first step. This seems to be a result of having the TunnelDeck plugin installed and then updating the OS.
sudo systemd-sysext status
sudo systemd-sysext unmerge
sudo pacman -S networkmanager-openvpn
sudo systemctl restart NetworkManager
sudo systemd-sysext merge
After doing this and restarting, your VPN should work again.