ProtonVPN is a VPN provider that utilizes the OpenVPN protocol.
Every solution requires a ProtonVPN account and thepackage.
OpenVPN command-line interface
VPN connection can be run manually with interface provided by thepackage.
Download one or more OpenVPN configuration files from ProtonVPN Downloads page.
*.ovpn client configuration files into
/etc/openvpn/client/ and make backup of original.
/etc/openvpn/update-resolv-conf, as the script is placed in
Connect to the VPN:
# openvpn /etc/openvpn/client/client_config_file.ovpn
Provide OpenVPN / IKEv2 Username from the ProtonVPN Account page.
Ctrl+C to close the VPN connection.
Tips and tricks
Enable VPN on boot
For systemd service configuration, see OpenVPN#systemd service configuration.
Only run certain applications through VPN with network namespaces
vopono supports automatic configuration file generation for ProtonVPN, and allows you to run applications inside temporary network namespaces so only those run through the VPN.
Install the AUR package.
Initialize the client:
# protonvpn init
Enter the OpenVPN username and password associated with your ProtonVPN account, which can be found at ProtonVPN » Account » OpenVPN / IKEv2 username page. For example:
Enter OpenVPN username: OpenVPN/IKEv2 username Enter OpenVPN password: OpenVPN/IKEv2 password
After entering the credentials, you have to select your subscription plan. For example, select the Free plan:
[.]ProtonVPN Plans: 1) Free 2) Basic 3) Plus 4) Visionary Enter Your ProtonVPN plan ID: 1
Connect to the VPN:
# protonvpn connect
# protonvpn c
You should see detailed country list with all available servers. Select preferred server and click OK.
Then select UDP or TCP protocol and click OK again.
If connection was successful, you will see following output:
Connecting... Connected! New IP: X.X.X.X
To automatically connect to the fastest server, use:
# protonvpn c -f
A list of all options is available on the github repo
Graphical interface for setting up OpenVPN connection may be provided by your desktop environment. Search in connection settings. Otherwise, NetworkManager#Installation, NetworkManager#VPN support and NetworkManager#Front-ends provide useful information.