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 tun proto udp # IP and Port of remote host with OpenVPN server remote 111.222.333.444 1194 resolv-retry infinite ca /etc/openvpn/keys/ca.crt cert /etc/openvpn/keys/client.crt key /etc/openvpn/keys/client.key tls-client tls-auth /etc/openvpn/keys/ta.key 1 auth SHA1 cipher BF-CBC remote-cert-tls server comp-lzo persist-key persist-tun status openvpn-status.log log /var/log/openvpn.log verb 3 mute 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?