Re: [Openvpn-users] Openvpn-users Digest, Vol 103, Issue 2

2014-12-09 Thread aznamamil
salam khobi 2014-12-02 16:04 GMT+03:30 openvpn-users-requ...@lists.sourceforge.net: Send Openvpn-users mailing list submissions to openvpn-users@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit

Re: [Openvpn-users] limits

2014-12-09 Thread Eric Crist
In multi.c, an error should be generated when reaching the max_clients limit as: if (hash_n_elements (m-hash) = m-max_clients) msg (D_MULTI_ERRORS, MULTI: new incoming connection would exceed maximum number of clients (%d), m-max_clients); I see the default of 1024 in options.c, but I am

Re: [Openvpn-users] limits

2014-12-09 Thread J.Witvliet
Hi Jan, Yeah, I do use --max-client 2028, but still... only 1024, so it is hard coded into openvpn. It is not such a big deal, as long as you know about it In real life, it will never occur, but it is hard to emulate 2000 real users I will try testing from several virtualized clients, each

Re: [Openvpn-users] limits

2014-12-09 Thread Eric Crist
The option is --max-clients not --max-client Perhaps a typo in your config? - Eric F Crist On Dec 9, 2014, at 09:06:56, j.witvl...@mindef.nl wrote: Hi Jan, Yeah, I do use --max-client 2028, but still... only 1024, so it is hard coded into openvpn. It is not such a big deal, as

Re: [Openvpn-users] [TAP/Bridge] How to manually replicate client-to-client?

2014-12-09 Thread Jan Just Keijser
Hi, blz wrote: I have an OpenVPN server running in TAP mode on a Linux server where tap0 is bridged with eth0 (the server's LAN interface) into br0. Two client sites connect and results in one big LAN in the same /16 subnet. 192.168.0.0/16 is used on the LAN on the server's side of the

Re: [Openvpn-users] limits

2014-12-09 Thread J.Witvliet
No, i'm typing out-of-my-head. By default we use 64 or 128, and I asked him to raise it to 2048, with corresponding network netmask. Hans -Original Message- From: Eric Crist [mailto:ecr...@secure-computing.net] Sent: dinsdag 9 december 2014 16:10 To: Witvliet, J, DMO/OPS/IS/HIN Cc:

Re: [Openvpn-users] limits

2014-12-09 Thread Gert Doering
Hi, On Tue, Dec 09, 2014 at 03:23:39PM +0100, j.witvl...@mindef.nl wrote: The fact that it stops exactly at 1024, makes me wonder what is causing this limit.. Is it a kernel parameter maximizing the number of tun-devices? Could be maximum number of socket FDs. Is this over TCP or over UDP?