[Watford] OpenVPN

Alan Secker alansecker0 at gmail.com
Wed Jan 29 11:01:14 UTC 2014


I'm back on to trying to get this to work.

On the server side, I think I have sorted out everything except for the 
static address issue but I want to tackle that separately. My current
problem stems from what happens when I try and start the client side.

This is what happens:

I prepared a client.conf file following someone's instructions (while
understanding little). When I tested it with:

# openvpn /etc/openvpn/client.conf

the following error was generated.

Options error: If you use one of --cert or --key, you must use them both

A comment-stripped copy of the client.conf file, looks like this:

##########################################################
# Customised Sample client-side OpenVPN 2.0 config file #
# based on Vincent Danen's article in techrepublic blog #
# with comments removed                                 #
##########################################################

client
dev tun
proto udp
remote 10.8.0.0 1194
nobind
user nobody
group nobody
persist-key
persist-tun
ca ca.crt
cert netbook.crt
cert netbook.key
comp-lzo
pull dhcp-options

I cannot find anything in the help the doc directory or on the internet 
that explains this. I would greatly appreciate some advice.




More information about the Watford mailing list