Install OpenVPN on Ubuntu via Terminal(CLI)

Updated 2 years ago by SwitchVPN

  1. Install latest verison of OpenVPN

sudo apt-get update
sudo apt-get install openvpn

  1. Download the OpenVPN configuration files from below and unzip it on your Linux system.

https://help.switchvpn.net/article/439knjsod0-448087-ovpn-openvpn-configuration-files
  1. Start OpenVPN connection, you will be prompted to enter username and password.

sudo openvpn --config /path/to/.ovpn

eg. sudo openvpn --config "/path/to/Hong Kong.ovpn"

After you extract the downloaded configuration files, you will see multiple locations files ending with .ovpn, For example "Hong Kong.ovpn"

  1. Done

Confgratulations! Your device is now connected to SwitchVPN


How did we do?


Powered by HelpDocs (opens in a new tab)