[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Options error: specify only one of --tls-server, --tls-client, or --secret


  • Subject: Re: [Openvpn-users] Options error: specify only one of --tls-server, --tls-client, or --secret
  • From: Benjamin Bagland <bagland@xxxxxxx>
  • Date: Fri, 3 Sep 2004 14:40:24 +0200

Le 03.09.04 , Terry Dooher a écrit:
> I've moved up from 1.5 to beta11 today. I want to set up a single tcp 
> server<->multiple clients service and have mostly duplicated the recent 
> examples. When I attempt to start it with:
> 
> openvpn --config test.config
> 
> I get:
> 
> Options error: specify only one of --tls-server, --tls-client, or --secret
> 
> I _am_ only specifying --secret. The contents of test.config are below. 
> My guess is that one of these options is implying tls, but I can't find 
> which. If I comment out the secret line, I get:
> 
> Options error: You must define DH file (--dh)
> 
> Thanks,
> 
> Terry.
> 
> ---- test.config
...
> server 192.168.120.0 255.255.255.0

server is a macro whose expansion contains tls-server.

And, if you are using the multi-client mode server, you must use TLS/SSL
authentification (see the man page, under the section for Multi-Client Server
options).


Benjamin

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users