Guide to install VPN for Linux (Ubuntu)

Step 1 - Install the software

Open a terminal and execute the following commands to install OpenVPN client:

sudo apt-get install -y openvpn

Step 2 - Configure the software

Access to your TheVPNCompany account and download configuration file

You will need to copy this file /etc/openvpn/thevpncompany.conf

sudo cp ~/Downloads/client-101.linux.ovpn /etc/openvpn/thevpncompany.conf

Start the VPN connection with the following command:

sudo systemctl start openvpn@thevpncompany

If you want this service to start every time the computer starts you need to enable it:

sudo systemctl enable openvpn@thevpncompany

Step 3 - Check that works

You should be connected to TheVPNCompany safely and be able to browser the internet safely. To make sure that everything was set up correctly, please use Is Vpn Up ? tool.

Fork me on GitHub