The following steps is to add a new user to OpenVPN.
ubuntu@instance-20210813-1100:~$ sudo ./openvpn-ubuntu-install.sh
Welcome to OpenVPN-install!
The git repository is available at: https://github.com/angristan/openvpn-install
It looks like OpenVPN is already installed.
What do you want to do?
1) Add a new user
2) Revoke existing user
3) Remove OpenVPN
4) Exit
Select an option [1-4]: 1
Tell me a name for the client.
The name must consist of alphanumeric character. It may also include an underscore or a dash.
Client name: leiOsaka
Do you want to protect the configuration file with a password?
(e.g. encrypt the private key with a password)
1) Add a passwordless client
2) Use a password for the client
Select an option [1-2]: 1
Client leiOsaka added.
The configuration file has been written to /home/ubuntu/leiOsaka.ovpn.
Download the .ovpn file and import it in your OpenVPN client.