We are also using old openvpn clients with windows, there we have to use /30 netmasks (4 ip's) and can only configure 4096 users. To handle the load on the machines we build a cluster with dynamic routing and yes, we are getting close to the /16 network limit.


Am 31.08.2010 13:31, schrieb Gert Doering:
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



Reply via email to