Page 1 of 1

Error parsing OpenVPN profile

Posted: Thu Apr 21, 2016 6:17 pm
by vipen
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!

Re: Error parsing OpenVPN profile

Posted: Thu Apr 21, 2016 6:22 pm
by Traffic
vipen wrote:Error parsing OpenVPN profile: client.ovpn : option_error: remote option not specified
Your client config requires the --remote option to tell it the name or ip address of your server ..

Re: [SOLVED] Error parsing OpenVPN profile

Posted: Sun Apr 24, 2016 10:26 pm
by vipen
thanks Traffic! I have missed some steps in the how-to...
Everything is working now.

Re: Error parsing OpenVPN profile

Posted: Sun Apr 24, 2016 11:03 pm
by Traffic
Darn HOWTO:
HOWTO: For OpenVPN Community Edition

Thanks for letting us know 8-)

Re: Error parsing OpenVPN profile

Posted: Sun Feb 14, 2021 10:34 pm
by csteele7
Traffic wrote:
Thu Apr 21, 2016 6:22 pm
vipen wrote:Error parsing OpenVPN profile: client.ovpn : option_error: remote option not specified
Your client config requires the --remote option to tell it the name or ip address of your server ..
My remote option is configured within client.conf with OpenVPN address and still no dice.

Re: Error parsing OpenVPN profile

Posted: Sun Feb 14, 2021 10:57 pm
by TinCanTech
csteele7 wrote:
Sun Feb 14, 2021 10:34 pm
still no dice
You are playing the wrong game.

viewtopic.php?f=30&t=22603