$ vim openvpn-install.sh Run openvpn-install.sh to install OpenVPN server One can view the script using a text editor such as nano/vim: Setup permissions using the chmod command: Step 3 – Download and run openvpn-install.sh script All you have to do is provide 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. Private static IP address directly attached to your server and your server is behind NAT with public IP address.For example, Linode, Digital Ocean, and others gives you direct public IP address. Public static IP address directly assigned to your box and routed from the Internet.Most cloud servers have two types of IP address: $ dig +short TXT +short. | awk -F'"' '' $ sudo apt upgrade Step 2 – Find and note down your IP addressĪnother option is to run the following dig command/ host command to find out your public IP address from Linux command line: The steps are as follows: Step 1 – Update your system Procedure: Ubuntu 18.04 LTS Set Up OpenVPN Server In 5 Minutes
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |