Hi,

On Tue, Aug 31, 2010 at 12:35:03PM +0200, Eike Lohmann wrote:
> In the past only /16 networks were possibel per openvpn instance.
> Is it now possibel to define larger networks or define 2x /16 networks 
> on one openvpn instance?

I assume that you're talking about this error message:

  --server directive netmask allows for too many host addresses (subnet must be 
%s or higher)

right?  If yes, it should work to change 

#define IFCONFIG_POOL_MIN_NETBITS    16

in pool.h to "14" (etc) and recompile - every extra bit will double
memory consumption [for the pool handling, of I remember right], so 
use with care.

(You really have more than 16000 users on a single OpenVPN instance? 
Wow, I'm impressed!)

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgp9HhXjZM4t5.pgp
Description: PGP signature

Reply via email to