Question

How to add user Openvpn pi hole droplet

Hello, i installed openvpnpihole11 droplet and download client.ovpn file. i want using three device vpn client. but i connect second device to vpn server, another connected connection is drop. How to add multiple client for three device ?

thanks.


Submit an answer


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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
November 14, 2022

Hi there,

You should be able to add more users by running the OpenVPN installer again:

./openvpn-install.sh

From the menu choose option 1:

1) Add a new user and enter a client name

The output that you will get would look like this:

Looks like OpenVPN is already installed

What do you want to do?
   1) Add a new user
   2) Revoke an existing user
   3) Remove OpenVPN
   4) Exit
Select an option [1-4]: 1

Tell me a name for the client certificate
Please, use one word only, no special characters
Client name: your_user_here

This will generate a new .ovpn file, which you can copy to be new device.

This process also generates a few other files found in /etc/openvpn/server/easy-rsa/pki/, which make public key authentication possible.

EDIT 1: In case that you are using the Marketplace image, to create an additional client configuration run:

/root/create-client-config.sh your_client_name_here

Hope that this helps.

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.