Sudo systemctl stop OR when using password to protect vpn # We need to use the systemctl command as follows: Stop the OpenVPN server If you want to add more clients, just run this script again! How do I start/stop/restart OpenVPN server on Ubuntu 20.04 LTS? Your client configuration is available at: /root/linuxdesktop.ovpn At the end we should see information as follows: Make sure you choose fast Geo-distributed DNS servers and reached from anywhere on the Internet. I strongly suggest that you always choose the DNS server option as 1.1.1.1 or Google DNS or any other DNS service provided that you trust as per your needs. ⚠️ You will be asked for the client password below ⚠️ It may also include an underscore or a dash.ĭo you want to protect the configuration file with a password? The name must consist of alphanumeric character. If you downloaded the second script as per step #3, you could set up a password for the client too. I am going to use the wget command as follows: Step 3 – Download and run openvpn-install.sh script All you have to do is provide a correct IP address when asked for it. The script will automatically detect your networking setup. For example, AWS EC2/Lightsail give you this kind of NAT public IP address.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |