Cyberghost Vpn on Arch Linux
CyberGhost has apps or shell scripts for various Linux distros but not for Arch Linux, at least not at the time of writing this. However, it is very easy to configure it for Arch.
Here’s what I did.
Steps
Logged into https://my.cyberghostvpn.com/, “My Download Apps” -> “Other Apps” -> “Routers and other devices” -> “Configure New Device”.
Make the selections, for my setup I’ve selected “Open VPN” as the protocol.
Download the OpenVPN configuration files. Extract the archive, mv the files to /etc/openvpn/client
.
chmod 600 /etc/openvpn/client/*
chown openvpn:network /etc/openvpn/client/*
Create an auth file that stores the login credentials for this VPN connection /etc/openvpn/client/login.conf with the username on the 1st line and the password on the 2nd line.
Change auth-user-pass
in cyberghost.conf to auth-user-pass login.conf
.
sudo systemctl start openvpn-client@cyberghost
sudo systemctl enable openvpn-client@cyberghost
Check the IP here https://www.cyberghostvpn.com/en_US/ - they display it at the top.