Set Up OpenVPN on Linux

OpenVPN on Debian/Ubuntu

1 Download OpenVPN

Open terminal/konsole and run:

sudo apt-get update && sudo apt-get upgrade sudo apt-get install openvpn

2 Download config file

Download config file .ovpn from your panel at MyVPN.Host.

3 Run OpenVPN

Run as daemon:

openvpn --config myvpn_host_RU_server.conf --daemon

4 Manage OpenVPN

systemctl start openvpn # Starts OpenVPN and connects to VPN Server systemctl stop openvpn # Stops OpenVPN systemctl restart openvpn # Restarts OpenVPN systemctl status openvpn # Shows status for OpenVPN