ProtonVPN

From ArchWiki
Revision as of 09:03, 14 June 2019 by SlavMetal (talk | contribs) (protonvpn-cli: beautification)
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.

Installation

Install the openvpn package.

Usage

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.

Connect to the VPN:

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

Press Ctrl+C to close the VPN connection.

Tips and tricks

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.

/etc/openvpn/client/client_config_file.ovpn
auth-user-pass /etc/openvpn/client/login.conf
/etc/openvpn/client/login.conf
openvpn_username
openvpn_password

Enable VPN on boot

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

protonvpn-cli

ProtonVPN supplies a utility to access the VPN. Details can be found on the official website and the GitHub repository. This package can also be installed as protonvpn-cliAUR.