How to Set Up OpenVPN on Linux Command Line Interface

How to Set Up OpenVPN on Linux Command Line Interface

  1. Install OpenVPN
    Open the terminal, login as root and run the following command:
    'apt-get install openvpn'

  2. Download configuration file
    You can download your OpenVPN config file here

    Once you have the config file, move it to 
    /etc/openvpn/vpnht.ovpn

  3. Run OpenVPN
    Now run openvpn as root with the following command:
    # openvpn /etc/openvpn/vpnht.ovpn

    Enter your credentials and you should be connected
  • 35 Users Found This Useful
Was this answer helpful?

Related Articles

How to set up VPN on your Chromebook with L2TP ?

How to set up VPN on your Chromebook with L2TP ? Step 1: Open Settings  Right-click the...

How do you setup the ASUS wireless router vpn ?

How do you setup the ASUS wireless router vpn ? Some ASUS routers support connecting to a VPN...

DD-WRT Openvpn at startup

DD-WRT (OpenVPN at Startup) Note: OpenVPN only works on Big, Mega and some Std versions of the...

Setup VPN Client on Synology

Setup VPN Client on Synology  Step 0: Go to your DSM control panel If you do not know the...

Linux Ubuntu Network Manger OpenVPN

Ubuntu (OpenVPN) This guide is also available as video tutorial: click here to proceed to the...