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

這篇文章有幫助嗎?

 列印本文

Also Read

How to set up VPN on Linux with PPTP ?

How to set up VPN on Linux with PPTP ? There are two ways to set-up OpenVPN on Ubuntu. When...

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...

How To Install and Configure OpenVPN On Your DD-WRT Router

How To Install and Configure OpenVPN On Your DD-WRT Router Note: OpenVPN only works on Big,...

Linux Ubuntu Network Manger OpenVPN

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

Setup L2TP VPN in Windows

Setup L2TP VPN in Windows 1. Start Remote Access Phonebook (RASPHONE) Start the Run command...