Pritunl 20k Clients

2 min readMay 21, 2016

Testing 20k Concurrent Clients


The test Pritunl cluster used ten c4.large Pritunl nodes and one r3.large MongoDB server. Eighty r3.large nodes were used for VPN clients each handling 250 clients. More information on running a production Pritunl cluster for 20k clients can be found in the documentation.


Each OpenVPN client is run in a docker container with 250 containers running on each instance. Terraform was used to automate creating the cluster and client nodes. The scripts and code used to automate the test can be found on GitHub.

Eight hours after starting no errors or disconnects occurred.


Follow Pritunl on Twitter | Find us on GitHub | Subscribe to our mailing list