How to install and configure openVPN server on CentOS 6.4 linux

rasho

Linux System Administrator with over 7 years experience in administering production level servers (CentOS/Ubuntu/Debian with apache2/nginx, mysql server, etc)

You may also like...

  • Shadow

    Hi Rasho,

    I got the following errors during “Generating Keys and Certificates Using easy-rsa”. Any idea why?

    ————-
    [root@InstaWatchTV ~]# mkdir -p /etc/openvpn/easy-rsa/keys

    [root@InstaWatchTV ~]# cd /tmp

    [root@InstaWatchTV tmp]# wget https://github.com/downloads/OpenVPN/easy-rsa/easy -rsa-2.2.0_master.tar.gz

    –2014-07-23 12:24:58– https://github.com/downloads/OpenVPN/easy-rsa/easy-rsa- 2.2.0_master.tar.gz

    Resolving github.com… 192.30.252.131

    Connecting to github.com|192.30.252.131|:443… connected.

    HTTP request sent, awaiting response… 302 Found

    Location: https://cloud.github.com/downloads/OpenVPN/easy-rsa/easy-rsa-2.2.0_mas ter.tar.gz [following]

    –2014-07-23 12:24:59– https://cloud.github.com/downloads/OpenVPN/easy-rsa/eas y-rsa-2.2.0_master.tar.gz

    Resolving cloud.github.com… 54.230.9.61, 216.137.63.89, 216.137.63.218, …

    Connecting to cloud.github.com|54.230.9.61|:443… connected.

    OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshak e failure

    Unable to establish SSL connection.

    [root@InstaWatchTV tmp]# tar -xvf easy-rsa-2.2.0_master.tar.gz

    tar: easy-rsa-2.2.0_master.tar.gz: Cannot open: No such file or directory

    tar: Error is not recoverable: exiting now

  • Shadow

    Hi Rasho,

    I got the following errors during “Generating Keys and Certificates Using easy-rsa”. Any idea why?

    ————-
    [root@InstaWatchTV ~]# mkdir -p /etc/openvpn/easy-rsa/keys

    [root@InstaWatchTV ~]# cd /tmp

    [root@InstaWatchTV tmp]# wget https://github.com/downloads/OpenVPN/easy-rsa/easy -rsa-2.2.0_master.tar.gz

    –2014-07-23 12:24:58– https://github.com/downloads/OpenVPN/easy-rsa/easy-rsa- 2.2.0_master.tar.gz

    Resolving github.com… 192.30.252.131

    Connecting to github.com|192.30.252.131|:443… connected.

    HTTP request sent, awaiting response… 302 Found

    Location: https://cloud.github.com/downloads/OpenVPN/easy-rsa/easy-rsa-2.2.0_mas ter.tar.gz [following]

    –2014-07-23 12:24:59– https://cloud.github.com/downloads/OpenVPN/easy-rsa/eas y-rsa-2.2.0_master.tar.gz

    Resolving cloud.github.com… 54.230.9.61, 216.137.63.89, 216.137.63.218, …

    Connecting to cloud.github.com|54.230.9.61|:443… connected.

    OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshak e failure

    Unable to establish SSL connection.

    [root@InstaWatchTV tmp]# tar -xvf easy-rsa-2.2.0_master.tar.gz

    tar: easy-rsa-2.2.0_master.tar.gz: Cannot open: No such file or directory

    tar: Error is not recoverable: exiting now