From ArchWiki
Revision as of 09:29, 12 June 2019 by K4rolB (talk | contribs) (→‎Walkthrough: Simplified steps in walkthrough. Removed resolv-conf script tutorial and linked to OpenVPN article with up to date steps.)
Jump to navigation Jump to search

ProtonVPN is a VPN provider that utilizes the OpenVPN protocol.

In order to use this tutorial, one must have a protonvpn account.


Install openvpn.

Log into ProtonVPN and download one or more OpenVPN configuration files.

Copy the *.ovpn client configuration files into /etc/openvpn/client/ and make backup of original.

Follow these steps to make sure, that all your network traffic uses VPN. If you use systemd older than 229, follow these steps.

Start your VPN:

# openvpn /etc/openvpn/client/client_config_file.ovpn

Press Ctrl+C to close the VPN connection.

Saving OpenVPN Authentication

If you get tired of punching in your username and password, you may save your OpenVPN credentials in a separate file and read them automatically.

auth-user-pass /etc/openvpn/client/login.conf

Enable VPN on Boot

For systemd service configuration, see OpenVPN#systemd service configuration.

Use ProtonVPN-cli

ProtonVPN supplies a utility to access the VPN. Details can be found on their website and the GitHub repository can be found here. This package can be installed directly from AUR.