Credits to this YT tutorial
On the server please run
sudo apt-get update
sudo su
apt -y install git openvpn openconnect net-tools vim
git clone https://github.com/angristan/openvpn-install.git
cd openvpn-install/
chmod +x ./openvpn-install.sh && ./openvpn-install.sh
In configuratios used defaults except:
Port: please use custom
-> 443
- This should bypass any restrictions to the default ports
protocol: TCP
Once done, You should get the .ovpn
configuration path, Please copy to your local machine to connect to the server
From your local please install openvpn
sudo apt -y install openvpn
To connect to the server
sudo openvpn --config ~/YOUR_CONFIG_FILE.ovpn
It's helpful to alies the connection command