How can I set up OpenVPN to accept more than 60 connections?

Posted by Robin on Server Fault See other posts from Server Fault or by Robin
Published on 2010-12-21T14:22:49Z Indexed on 2010/12/21 14:56 UTC
Read the original article Hit count: 306

Filed under:
|

Greetings!

We're using OpenVPN and today hit an unexpected connection limit of 60 - even though max-clients is set to the source code default 1024.

Server log:

Tue Dec 21 13:49:41 2010 MULTI: new incoming connection would exceed maximum number of clients (60)

We're slowly adding new clients to the VPN and expect to hit 200 some time next year, if we can get it working.

We're running the server on a Win2003 R2. OpenVPN 2.0.9 Server config as follows:

local 192.168.10.211
port 1195
proto tcp
dev tun
dev-node OpenVPN_Vision
ca vision_ca.crt
cert vision_server.crt
key vision_server.key # This file should be kept secret
dh vision_dh1024.pem
server 192.168.211.0 255.255.255.0
ifconfig-pool-persist vision_ipp.txt
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
;client-to-client
keepalive 10 120
comp-lzo
;max-clients 100 # Default in source code is 1024
persist-key
persist-tun
status openvpn-status-vision.log
log vision.log
verb 3

I would greatly appreciate any help or input on this one. Thanks! Best regards, Robin

© Server Fault or respective owner

Related posts about openvpn

Related posts about config