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.

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