Difference between revisions of "ProtonVPN"

From ArchWiki
Jump to navigation Jump to search
m (Add russian page)
(Structure the article and fix letter case)
Line 5: Line 5:
 
[[ru:ProtonVPN]]
 
[[ru:ProtonVPN]]
 
{{Related articles start}}
 
{{Related articles start}}
{{Related|openvpn}}
+
{{Related|OpenVPN}}
 
{{Related articles end}}
 
{{Related articles end}}
 
[https://www.protonvpn.com ProtonVPN] is a VPN provider that utilizes the OpenVPN protocol.
 
[https://www.protonvpn.com ProtonVPN] is a VPN provider that utilizes the OpenVPN protocol.
  
In order to use this tutorial, one must have a protonvpn account.
+
In order to use this tutorial, one must have a ProtonVPN account.
  
== Walkthrough ==
+
== Installation ==
  
[[Install]] {{pkg|openvpn}}.
+
[[Install]] the {{pkg|openvpn}} package.
 +
 
 +
== Usage ==
  
 
Log into ProtonVPN and download one or more OpenVPN configuration files.
 
Log into ProtonVPN and download one or more OpenVPN configuration files.
Line 21: Line 23:
 
Follow [[OpenVPN#Update_systemd-resolved_script|these steps]] to make sure, that all your network traffic uses VPN. If you use systemd older than 229, follow [[OpenVPN#Update resolv-conf script|these steps]].
 
Follow [[OpenVPN#Update_systemd-resolved_script|these steps]] to make sure, that all your network traffic uses VPN. If you use systemd older than 229, follow [[OpenVPN#Update resolv-conf script|these steps]].
  
Start your VPN:
+
Connect to the VPN:
  
 
  # openvpn /etc/openvpn/client/client_config_file.ovpn
 
  # openvpn /etc/openvpn/client/client_config_file.ovpn
Line 27: Line 29:
 
Press {{ic|Ctrl+C}} to close the VPN connection.  
 
Press {{ic|Ctrl+C}} to close the VPN connection.  
  
=== Saving OpenVPN Authentication ===
+
== 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.
 
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.
Line 40: Line 44:
 
}}
 
}}
  
=== Enable VPN on Boot ===
+
=== Enable VPN on boot ===
  
 
For systemd service configuration, see [[OpenVPN#systemd service configuration]].
 
For systemd service configuration, see [[OpenVPN#systemd service configuration]].
  
== Use ProtonVPN-cli ==
+
== protonvpn-cli ==
  
 
ProtonVPN supplies a utility to access the VPN. Details can be found on [https://protonvpn.com/support/linux-vpn-tool/ their website] and the GitHub repository can be found [https://github.com/ProtonVPN/protonvpn-cli here]. This package can be installed directly from [https://aur.archlinux.org/packages/protonvpn-cli/ AUR].
 
ProtonVPN supplies a utility to access the VPN. Details can be found on [https://protonvpn.com/support/linux-vpn-tool/ their website] and the GitHub repository can be found [https://github.com/ProtonVPN/protonvpn-cli here]. This package can be installed directly from [https://aur.archlinux.org/packages/protonvpn-cli/ AUR].

Revision as of 08:58, 14 June 2019

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 their website and the GitHub repository can be found here. This package can be installed directly from AUR.