How many open VPN clients can be connected to server?

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Larry-hsm
OpenVpn Newbie
Posts: 4
Joined: Tue Nov 20, 2012 3:16 am

How many open VPN clients can be connected to server?

Post by Larry-hsm » Tue Nov 20, 2012 3:32 am

We have a project, and we want to use open vpn for our project, but there is an issue that we don’t know how many clients can connect to an open vpn server.
I know it may be related to hardware configuration of server PC. If that, could you please tell me how many clients can connect to open vpn server that have a standard hardware configuration.
I think it is better to take a instance for us, like 200 clients can connect to server, the server’s hardware configuration is:

CPU: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz (4 cores)
2GB RAM
Linux 2.6 (Debian 6)
……

If we add the RAM to 4G, how many clients can be connected to server? and if we change a better CPU? Could you please explain it to us in details?

PS: we don’t use this hardware configuration, I just take it for example.

Larry-hsm
OpenVpn Newbie
Posts: 4
Joined: Tue Nov 20, 2012 3:16 am

Re: How many open VPN clients can be connected to server?

Post by Larry-hsm » Fri Nov 23, 2012 3:31 am

is any one know about it?

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: How many open VPN clients can be connected to server?

Post by maikcat » Sat Nov 24, 2012 7:35 pm

i have a working installation with 80 clients running on a
hp ml 110 G5 with no problems...

this issue was discussed in the past but i dont think there was
a clear answer...

i believe with 200 clients there is no problem with a core duo class cpu..

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

VPNTutorials
OpenVpn Newbie
Posts: 8
Joined: Thu Jan 17, 2013 11:29 am
Contact:

Re: How many open VPN clients can be connected to server?

Post by VPNTutorials » Thu Jan 17, 2013 11:34 am

CPU is normally the bottleneck. Just monitor your server and check your CPU usage when the number of connected users is high.

I have a Atom server and it can handle at least 150 users although not all users are using too much bandwidth.

TavisCoelho
OpenVpn Newbie
Posts: 1
Joined: Mon Jan 21, 2013 6:55 am

Re: How many open VPN clients can be connected to server?

Post by TavisCoelho » Mon Jan 21, 2013 6:56 am

150 users for one IP?

VPNTutorials
OpenVpn Newbie
Posts: 8
Joined: Thu Jan 17, 2013 11:29 am
Contact:

Re: How many open VPN clients can be connected to server?

Post by VPNTutorials » Tue Apr 09, 2013 11:13 am

TavisCoelho wrote:150 users for one IP?
Is this question for me? No the server has a /24.

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: How many open VPN clients can be connected to server?

Post by janjust » Tue Apr 09, 2013 11:42 am

what he meant is that 150 users route traffic via a single (server) IP and the answer would be yes.

The current builds of openvpn are still monolithic and benefit greatly from clockspeed, not from multicores. So if you want a fast openvpn server then get a CPU with the highest GHz count, not the number of cores. And yes, if the clients do not consume too much bandwidth then an Atom CPU can easily handle 150 clients.

Post Reply