Make sure the following components are installed.
In the example we use Ubuntu. There the necessary packages have to be installed as follows:
sudo apt update && sudo apt install openvpn resolvconf
Next change into the OpenVPN directory:
and get the Perfect Privacy configuration with the following line.
wget --content-disposition https://www.perfect-privacy.com/downloads/openvpn/get?system=linux
If you have special requirements, you can download OpenVPN configurations with advanced options in the download area.
Now you will need to edit the server configuration file so it instructs OpenVPN to use the password.txt file for the credentials. The server configurations always have the extension .conf and are named after the Location. If you want to connect to amsterdam.perfect-privacy.com, open Amsterdam.conf in your editor and in the line auth-user-pass add password.txt so the line reads like in the screenshot.
OpenVPN is now configured and you can start a connection with the following command:
sudo openvpn /etc/openvpn/Amsterdam.conf
If everything went correctly, it should say “Initialization Sequence Completed” at the end. You can terminate the connection by using CTRL-C. For productive usage you will probably want to run this in a screen so you can detach after the connection was established.
You can use our check IP site to verify that the OpenVPN connection was established and is working correctly:wget -q -O - https://checkip.perfect-privacy.com/csv