[Watford] OpenVPN

Alain Williams addw at phcomp.co.uk
Wed Jan 29 16:14:35 UTC 2014


On Wed, Jan 29, 2014 at 11:00:52AM +0000, Alan Secker wrote:
> 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

The above line should read:

    key netbook.key

> comp-lzo
> pull dhcp-options

Regards

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>



More information about the Watford mailing list