Quantcast
Channel: Active questions tagged openvpn - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 823

OpenVPN client setup

$
0
0

I have been following this tutorial –Howto Configure OpenVPN Server-Client on Ubuntu 15.04–to set up OpenVPN on my Ubuntu 15.04 VM. I have followed it through and through,and am kind of stuck with the client config file.

Here is the client.conf file given in the example:

dev tunproto udp# IP and Port of remote host with OpenVPN serverremote 111.222.333.444 1194resolv-retry infiniteca /etc/openvpn/keys/ca.crtcert /etc/openvpn/keys/client.crtkey /etc/openvpn/keys/client.keytls-clienttls-auth /etc/openvpn/keys/ta.key 1auth SHA1cipher BF-CBCremote-cert-tls servercomp-lzopersist-keypersist-tunstatus openvpn-status.loglog /var/log/openvpn.logverb 3mute 20

So I am guessing remote IP would be the public IP of my server and that I would need to forward port 1194 on my router. However where I define the ca, cert and key in the conf file, if I was using this on an Android device would I need to change the path to reflect where these files are on the Android device or is the example given correct?

I will be generating the client key to be used on both Android and iOS devices using the OpenVPN client. Would this also work on Windows?


Viewing all articles
Browse latest Browse all 823

Trending Articles