Error parsing OpenVPN profile
Posted: Thu Apr 21, 2016 6:17 pm
Hi all,
I'm trying to connect my Router which support OpenVPN and my Android Smartphone with OpenVPN Connect.
I have followed the instructions from here:
https://help.ubuntu.com/16.04/serverguide/openvpn.html
and I have generated keys and certificates.
According to the FAQ:
topic14432.html
I have to copy the contents of the generated files into an .ovpn file and import it in OpenVPN Connect.
1. No ta.key was generated! What am I supposed to enter in the <tls-auth>? I have entered the Diffie Hellman parameters like this:
<tls-auth>
-----BEGIN DH PARAMETERS-----
...
-----END DH PARAMETERS-----
</tls-auth>
but I'm not sure if it's correct.
2. I tried to import the .ovpn file this way but then I got this error:
Error parsing OpenVPN profile: client.ovpn : option_error: remote option not specified
If I understand correctly OpenVPN Connect complains about the server configuration. But where am I supposed to enter this information (Host name etc.)?
Thanks in advance!
I'm trying to connect my Router which support OpenVPN and my Android Smartphone with OpenVPN Connect.
I have followed the instructions from here:
https://help.ubuntu.com/16.04/serverguide/openvpn.html
and I have generated keys and certificates.
According to the FAQ:
topic14432.html
I have to copy the contents of the generated files into an .ovpn file and import it in OpenVPN Connect.
1. No ta.key was generated! What am I supposed to enter in the <tls-auth>? I have entered the Diffie Hellman parameters like this:
<tls-auth>
-----BEGIN DH PARAMETERS-----
...
-----END DH PARAMETERS-----
</tls-auth>
but I'm not sure if it's correct.
2. I tried to import the .ovpn file this way but then I got this error:
Error parsing OpenVPN profile: client.ovpn : option_error: remote option not specified
If I understand correctly OpenVPN Connect complains about the server configuration. But where am I supposed to enter this information (Host name etc.)?
Thanks in advance!