OpenVPN Install Ubuntu

This quick tutorial will teach you how to quickly install openVPN

First we need to download the installer. log into your ssh terminal i recomend Multi Tabbed Putty. you can download via this link.

Once singed in run this command to download openvpn-install.sh

https://ttyplus.com/multi-tabbed-putty/

Then run this comand to change the permissions

sudo chmod +x openvpn-install.sh

once you have changed the permissions run this command to run the installer

sudo bash openvpn-install.sh

Once the command has been run you will be met with these following options, we recommed these settings.

Welcome to this OpenVPN road warrior installer!

Which protocol should OpenVPN use?
1) UDP (recommended)
2) TCP
Protocol [1]: 1

What port should OpenVPN listen to?
Port [1194]:

Select a DNS server for the clients:
1) Current system resolvers
2) Google
3) 1.1.1.1
4) OpenDNS
5) Quad9
6) AdGuard
DNS server [1]: 2

Enter a name for the first client:
Name [client]: Desktop

OpenVPN installation is ready to begin.
Press any key to continue…

Too add more users, run this command again

sudo bash openvpn-install.sh

Your openVPN config file will be created at your /root/ directory