ONE-CLICK L2TP/IPSec VPN Installer

Today, I am sharing you a one-click l2tp vpn installer. It's pretty easy to install and use.

Before you run the script, make sure that your VPS is not a OpenVZ VPS. This script has been installed on Vultr successfully.

Step 1


Run the following commands one by one.

wget --no-check-certificate https://raw.githubusercontent.com/teddysun/across/master/l2tp.sh

chmod +x l2tp.sh

./l2tp.sh


Step 2


Input the information needed according to the instruction the script given. For example, IP range, PSK, username and password.

Several minutes later, your L2TP/IPsec VPN server is running.


Step 3


If you want to add and delete users, here is a list of commands.

  • l2tp -a : Add a user
  • l2tp -d : Delete a user
  • l2tp -m : Modifies all the passwords of existing users
  • l2tp -l : List all the username and passwords
  • l2tp - h : Help

This script of one-click l2tp vpn is pretty straight forward, give it a try, and you will find it is a time saver.

Comments

Popular posts from this blog

How to Enable HSTS in Webmin

Alphabet Sold Google Domains to Squarespace