Install & make client config of open vpn server
wget https://git.io/vpn -O openvpn-ubuntu-install.sh chmod -v +x openvpn-ubuntu-install.sh sudo ./openvpn-ubuntu-install.sh
Start openvpn
sudo systemctl start openvpn-server@server.service sudo systemctl status openvpn-server@server.service
Copy config file
ssh vivek@172.104.177.197 "sudo -S cat /root/linuxdesktop.ovpn" > linuxdesktop.ovpn
Connect
sudo openvpn --client --config /etc/openvpn/client.conf
Ubuntu 20.04 LTS Set Up OpenVPN Server In 5 Minutes - nixCraft
I am a new Ubuntu Linux 20.04 LTS server system administrator. How can I set up an OpenVPN Server on an Ubuntu Linux version 20.04 LTS server to shield my browsing activity from bad guys on public Wi-Fi, encrypt all traffic while connecting to 4G LTE network, and more?
https://www.cyberciti.biz/faq/ubuntu-20-04-lts-set-up-openvpn-server-in-5-minutes/


Seonglae Cho