How to use:
-
Create a new VM [CENTOS-BASED] -> [Openlogic 7.0]
-
Enable endpoints UDP500, UDP1701, UDP4500
-
Putty to SSH console
-
Run: sudo yum install wget -y
-
Run: sudo wget https://raw.githubusercontent.com/twilightgod/L2TP-VPN-installation-script-for-CentOS-7/master/l2tp-ipsec-install-script-for-centos7.sh
-
Run: sudo chmod +x l2tp-ipsec-install-script-for-centos7.sh
-
Run: sudo ./l2tp-ipsec-install-script-for-centos7.sh
-
Restart the VM from Azure Portal
-
Get the new public ip at Azure portal