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

Re: [Openvpn-users] mode server w/ dhcp & static keys


  • Subject: Re: [Openvpn-users] mode server w/ dhcp & static keys
  • From: "Aaron P. Martinez" <ml@xxxxxxxxxxxxxx>
  • Date: Mon, 31 Jan 2005 20:07:26 -0600

On Thu, 2004-07-08 at 15:54, Aaron M. Hirsch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> All,
> 
> I'm wanting to setup openvpn to where it will hand out dhcp addresses, via 
> ifconfig-pool, and utilize a static key.  We have no desire to created 500+ 
> tls keys at this time.
> 
> The problem that I'm running into is that I can't get opevpn to start with the 
> mode server and secret.  It tells me that I have to use tls-server.  

from the man page:

 --server 10.8.0.0 255.255.255.0 expands as follows:
                                                                                      
               mode server
               tls-server
                                                                                      
               if dev tun:
                 ifconfig 10.8.0.1 10.8.0.2
                 ifconfig-pool 10.8.0.4 10.8.0.251
                 route 10.8.0.0 255.255.255.0
                 if client-to-client:
                   push "route 10.8.0.0 255.255.255.0"
                 else
                   push "route 10.8.0.1"
                                                                                      
               if dev tap:
                 ifconfig 10.8.0.1 255.255.255.0
                 ifconfig-pool 10.8.0.2 10.8.0.254 255.255.255.0
                 push "route-gateway 10.8.0.1"


so you see that inadvertently you're already specifying tls-server but
trying to use a static key.

> 
> Anyone have any insight how I can get this configuration going?  (
> 
> I'm using beta 6 right now.
> 
> TIA.
> - -- 
> Aaron M. Hirsch


Aaron Martinez


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