Report this

What is the reason for this report?

How do i allow multiple clients connecting to the same open-vpn server ??

Posted on January 1, 2020

I want to know how to allow multiple clients using a different machine to connect to my open-vpn server on my digital ocean droplet ??

I’ve searched through the net but can’t find a direct straight forward answer to my question. im just left confused !

Im running my open-vpn server on a ubuntu droplet. I’ve setup my vpn properly and it’s working as expected but i can only connect to it from one machine at a time. how do i enable simultaneous connections to the same droplet IP ? Must i do anything with the certs ?

I hope someone could shed some light here.

Thank you



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

I believe that by default, OpenVPN doesn’t allow multiple clients to connect with the same key, basically, each user must have their own key.

To change that behavior you need to add duplicate-cn to your config at /etc/openvpn/server.conf.

This will allow multiple clients to share the same certificate/key files.

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.