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

Cette réponse était-elle pertinente?

 Imprimer cet article

Consultez aussi

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 To Set Up an OpenVPN Client in Windows ?

How To Set Up an OpenVPN Client in Windows ?  This guide is also available as video tutorial:...

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

Setup PPTP VPN in Windows

Setup PPTP VPN in Windows Open Control Panel Click on "View network status and tasks" Click...

How to setup OpenVPN ChromeOS ?

How to setup OpenVPN ChromeOS ? Connecting via the OpenVPN protocol is not easy on ChromeOS,...