Error parsing OpenVPN profile

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
vipen
OpenVpn Newbie
Posts: 2
Joined: Thu Apr 21, 2016 5:19 pm

Error parsing OpenVPN profile

Post by vipen » 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!

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Error parsing OpenVPN profile

Post by Traffic » 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 ..

vipen
OpenVpn Newbie
Posts: 2
Joined: Thu Apr 21, 2016 5:19 pm

Re: [SOLVED] Error parsing OpenVPN profile

Post by vipen » Sun Apr 24, 2016 10:26 pm

thanks Traffic! I have missed some steps in the how-to...
Everything is working now.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Error parsing OpenVPN profile

Post by Traffic » Sun Apr 24, 2016 11:03 pm

Darn HOWTO:
HOWTO: For OpenVPN Community Edition

Thanks for letting us know 8-)

csteele7
OpenVpn Newbie
Posts: 1
Joined: Sun Feb 14, 2021 10:29 pm

Re: Error parsing OpenVPN profile

Post by csteele7 » Sun Feb 14, 2021 10:34 pm

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.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Error parsing OpenVPN profile

Post by TinCanTech » Sun Feb 14, 2021 10:57 pm

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

viewtopic.php?f=30&t=22603

Post Reply