Unsolved OpenVPN on Android
-
@gjacobse said in OpenVPN on Android:
OpenVPN on Android
Did you download the app first?
https://play.google.com/store/apps/details?id=net.openvpn.openvpn&hl=en -
@coliver said in OpenVPN on Android:
@gjacobse said in OpenVPN on Android:
OpenVPN on Android
Did you download the app first?
https://play.google.com/store/apps/details?id=net.openvpn.openvpn&hl=enYes -
-
Did you get the details from the existing OpenVPN infrastructure?
-
@gjacobse said in OpenVPN on Android:
Has anyone used OpenVPN on Android?
I have to add the connection to a client device, but I don't have any (found) documentation on the process.
I have. Basically, you have to import prepared configuration file (profile) into OpenVPN client. I transfer it to Android either via email or via web site. Sometimes, if you copy file from Windows to SD card it gets converted into dos format which causes problems for Android client.
Also, consider using the unified format for OpenVPN profiles which allows all certs and keys to be embedded into the .ovpn file. -
@triple9 said in OpenVPN on Android:
@gjacobse said in OpenVPN on Android:
Has anyone used OpenVPN on Android?
I have to add the connection to a client device, but I don't have any (found) documentation on the process.
I have. Basically, you have to import prepared configuration file (profile) into OpenVPN client. I transfer it to Android either via email or via web site. Sometimes, if you copy file from Windows to SD card it gets converted into dos format which causes problems for Android client.
Also, consider using the unified format for OpenVPN profiles which allows all certs and keys to be embedded into the .ovpn file.Okay - totally not sure about what all that is talking about - BUT - BUT - I think I understand...
I don't have any ovpn files,.. I do have I believe text which could BE the ovpn file. And this information needs to be sent to the tablet and imported to the OpenVPN application - which appears to be pretty straight forward.
-
Error Reading file reference by profile : xx-router-tls-auth.key : cannot open for read,....
Hmm okay. let me see if I have the key and place in the same location.
-
@gjacobse said in OpenVPN on Android:
@triple9 said in OpenVPN on Android:
@gjacobse said in OpenVPN on Android:
Has anyone used OpenVPN on Android?
I have to add the connection to a client device, but I don't have any (found) documentation on the process.
I have. Basically, you have to import prepared configuration file (profile) into OpenVPN client. I transfer it to Android either via email or via web site. Sometimes, if you copy file from Windows to SD card it gets converted into dos format which causes problems for Android client.
Also, consider using the unified format for OpenVPN profiles which allows all certs and keys to be embedded into the .ovpn file.Okay - totally not sure about what all that is talking about - BUT - BUT - I think I understand...
I don't have any ovpn files,.. I do have I believe text which could BE the ovpn file. And this information needs to be sent to the tablet and imported to the OpenVPN application - which appears to be pretty straight forward.
sample unified ovpn profile:
client dev tun proto udp remote vpnserver.something.com 1194 resolv-retry infinite nobind persist-key persist-tun verb 1 cipher AES-256-CBC auth SHA1 dhcp-option DNS 8.8.8.8 # SMB WINS name server if you have one #dhcp-option WINS 192.168.1.1 # route to multiple networks route 10.0.0.0 255.255.0.0 # CA cert <ca> -----BEGIN CERTIFICATE----- .... CA content -----END CERTIFICATE----- </ca> # VPN Client Certificate <cert> -----BEGIN CERTIFICATE----- .... client cert -----END CERTIFICATE----- </cert> # key <key> -----BEGIN RSA PRIVATE KEY----- .......key -----END RSA PRIVATE KEY----- </key>
it depends on your server setup. Put your CA cert, client cert and private key at appropriate positions. Save it as client.ovpn and import into OpenVPN client.
-
@gjacobse said in OpenVPN on Android:
Error Reading file reference by profile : xx-router-tls-auth.key : cannot open for read,....
Hmm okay. let me see if I have the key and place in the same location.
Error reading key -
@triple9 said in OpenVPN on Android:
@gjacobse said in OpenVPN on Android:
@triple9 said in OpenVPN on Android:
@gjacobse said in OpenVPN on Android:
Has anyone used OpenVPN on Android?
I have to add the connection to a client device, but I don't have any (found) documentation on the process.
I have. Basically, you have to import prepared configuration file (profile) into OpenVPN client. I transfer it to Android either via email or via web site. Sometimes, if you copy file from Windows to SD card it gets converted into dos format which causes problems for Android client.
Also, consider using the unified format for OpenVPN profiles which allows all certs and keys to be embedded into the .ovpn file.Okay - totally not sure about what all that is talking about - BUT - BUT - I think I understand...
I don't have any ovpn files,.. I do have I believe text which could BE the ovpn file. And this information needs to be sent to the tablet and imported to the OpenVPN application - which appears to be pretty straight forward.
sample unified ovpn profile:
client dev tun proto udp remote vpnserver.something.com 1194 resolv-retry infinite nobind persist-key persist-tun verb 1 cipher AES-256-CBC auth SHA1 dhcp-option DNS 8.8.8.8 # SMB WINS name server if you have one #dhcp-option WINS 192.168.1.1 # route to multiple networks route 10.0.0.0 255.255.0.0 # CA cert <ca> -----BEGIN CERTIFICATE----- .... CA content -----END CERTIFICATE----- </ca> # VPN Client Certificate <cert> -----BEGIN CERTIFICATE----- .... client cert -----END CERTIFICATE----- </cert> # key <key> -----BEGIN RSA PRIVATE KEY----- .......key -----END RSA PRIVATE KEY----- </key>
it depends on your server setup. Put your CA cert, client cert and private key at appropriate positions. Save it as client.ovpn and import into OpenVPN client.
so it should not be a separate file
-
@gjacobse it can be, but it is much easier using unified format. Otherwise you need all files in same place and you have to pay attention if paths are correct.
-
@triple9 said in OpenVPN on Android:
@gjacobse it can be, but it is much easier using unified format. Otherwise you need all files in same place and you have to pay attention if paths are correct.
Cool - Great. Imported.
PolarSSL: CA certificate is undefined.
just one more hurdle to pass..
-
Doing a bit of reverse name matching... I may have it now.