The full output of the error is:
$ ./openvpn sample-config-files/client.conf
Options error: Unrecognized option or missing parameter(s) in sample-config-files/client.conf:16: client (2.2.2)
Use --help for more information.
root@ip-10-176-147-76:[/etc/openvpn]
I've stripped out the comments, but line 16 is the client line below:
client
dev tun
proto udp
remote ec2-test.compute-1.amazonaws.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/client1.crt
key /etc/openvpn/easy-rsa/2.0/keys/client1.key
ns-cert-type server
comp-lzo
verb 3
To test I commented out the client line, then it will complain about the ca line, I comment that out and it complains aobut the cert line. Any thoughts? anyone?
Starting up the client (linux) throws Options error:. . .
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Sep 06, 2012 5:01 pm
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Starting up the client (linux) throws Options error:. .
hi there,
can you try running openvpn as root?
which distro are you using?
Michael.
can you try running openvpn as root?
which distro are you using?
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Sep 06, 2012 5:01 pm
Re: Starting up the client (linux) throws Options error:. .
Actually all set now, it turns out after much investigation that the problem was with the machine itself. It had gotten into a bad state with openssl causing all sorts of problems. Thanks for the help though.