OpenVPN Cyberghost
Posted: Sun Oct 26, 2014 5:35 pm
Hi folks,
I’m going on a vacation to spain and expect a free wifi for the whole apartment building. In order to have a secure internet access there I plan to set up a Client + AP mode.
My router: TP-Link WDR3600 Gargoyle 1.6.2
I already set up the Client + AP mode and it works fine with my wifi at home. The TOR connection works fine as well.
But I can’t set up an OpenVPN connection to Cyberghost (Premium Plus member).
“Error Parameters saved but OpenVPN failed to connect. Re-check your configuration.”
Your help is highly appreciated! Eddie
=======================================
Here is my set up:
I downloaded the ovpn file from my Cyberghost account:
https://support.cyberghostvpn.com/index ... -for-linux
Connection --> OpenVPN --> Configure Client Manually
client
remote ua-openvpn.cyberghostvpn.com 443
dev tun
proto udp
cipher AES-256-CBC
auth-user-pass /etc/openvpn/user.txt
resolv-retry infinite
redirect-gateway def1
persist-key
persist-tun
nobind
auth MD5
ping 5
ping-exit 60
ping-timer-rem
explicit-exit-notify 2
script-security 2
remote-cert-tls server
route-delay 5
tun-mtu 1500
fragment 1300
mssfix 1300
verb 4
comp-lzo
ca /etc/openvpn/grouter_client_phqwnwmzscao_ca.crt
cert /etc/openvpn/grouter_client_phqwnwmzscao.crt
key /etc/openvpn/grouter_client_phqwnwmzscao.key
CA Certificate:
In this box I copied the next passage from the downloaded config file. Opened the file ‚CyberGhost.ovpn‘ as before with a text editor and marked the passage between <ca> and </ca>. Copy all text between <ca> and </ca>, so from -----BEGIN CERTIFICATE … [down to] …END CERTIFICATE-----
Client Certificate:
Copied all text between <cert> and </cert>, so from CERTIFICATE: … [down to] …END CERTIFICATE----- and transfered.
Client Key:
Copied all text between <key> und </key>, so from -----BEGIN PRIVATE KEY … [down to] …END PRIVATE KEY ----- and transfered.
Finally I created the text file user.txt. First row username, second password. Uploaded it with WinSCP to /etc/openvpn/.
I’m going on a vacation to spain and expect a free wifi for the whole apartment building. In order to have a secure internet access there I plan to set up a Client + AP mode.
My router: TP-Link WDR3600 Gargoyle 1.6.2
I already set up the Client + AP mode and it works fine with my wifi at home. The TOR connection works fine as well.
But I can’t set up an OpenVPN connection to Cyberghost (Premium Plus member).
“Error Parameters saved but OpenVPN failed to connect. Re-check your configuration.”
Your help is highly appreciated! Eddie
=======================================
Here is my set up:
I downloaded the ovpn file from my Cyberghost account:
https://support.cyberghostvpn.com/index ... -for-linux
Connection --> OpenVPN --> Configure Client Manually
client
remote ua-openvpn.cyberghostvpn.com 443
dev tun
proto udp
cipher AES-256-CBC
auth-user-pass /etc/openvpn/user.txt
resolv-retry infinite
redirect-gateway def1
persist-key
persist-tun
nobind
auth MD5
ping 5
ping-exit 60
ping-timer-rem
explicit-exit-notify 2
script-security 2
remote-cert-tls server
route-delay 5
tun-mtu 1500
fragment 1300
mssfix 1300
verb 4
comp-lzo
ca /etc/openvpn/grouter_client_phqwnwmzscao_ca.crt
cert /etc/openvpn/grouter_client_phqwnwmzscao.crt
key /etc/openvpn/grouter_client_phqwnwmzscao.key
CA Certificate:
In this box I copied the next passage from the downloaded config file. Opened the file ‚CyberGhost.ovpn‘ as before with a text editor and marked the passage between <ca> and </ca>. Copy all text between <ca> and </ca>, so from -----BEGIN CERTIFICATE … [down to] …END CERTIFICATE-----
Client Certificate:
Copied all text between <cert> and </cert>, so from CERTIFICATE: … [down to] …END CERTIFICATE----- and transfered.
Client Key:
Copied all text between <key> und </key>, so from -----BEGIN PRIVATE KEY … [down to] …END PRIVATE KEY ----- and transfered.
Finally I created the text file user.txt. First row username, second password. Uploaded it with WinSCP to /etc/openvpn/.