Back to Blog
Open vpn webmin6/11/2023 ![]() Now after installing the above packages use the given command to start and enable OpenVPN on the client system – sudo systemctl start openvpn OR if you are using CentOS/RHEL then use – sudo yum install network-manager-openvpn On Ubuntu/Debian use – sudo apt install network-manager-openvpn Next, install the network-manager-openvpn package to make VPN settings from GUI – ![]() OR if you are using CentOS/RHEL then use – sudo yum install openvpn -y To install OpenVPN on Ubuntu/Debian use – sudo apt install openvpn -y Use one of the given commands to install the OpenVPN client on your system. Now let’s configure the client machine by installing the OpenVPN client and connect it to the VPN server. If you use ifconfig command you will see that another interface with the name tun0 is created for the VPN tunnel. You can also verify if the OpenVPN daemon is listening at the port you mentioned in the script by using – sudo ss -tupln | grep openvpn This should display the output something like given in the image below. Now use the given command to check whether OpenVPN services are running or not. This will save the configuration file in your home directory. You can choose if you want to set the password on the configuration file or not. After downloading the files and installing the OpenVPN server you will be asked to enter the client name, enter it. Now this will ask you a few questions answer them according to your preference.įinally, it will ask you to press any key to start installing the OpenVPN server. Now run this installer script to install the OpenVPN server – sudo bash openvpn-install.sh ![]() Make this file executable by using the given command – chmod +x openvpn-install.sh OR use – dig +short download the script to install the open server. To find the server’s private IP address you can use one of the given commands in your system. The script will auto-detect the server’s private IP address you need to find public IP manually. We will use a script to install the OpenVPN server on our system, using this will make the installation process easier. Access to user account with superuser privileges. ![]()
0 Comments
Read More
Leave a Reply. |