Smart way to build an PPTP/L2TP VPN on CentOS 7

When I tried to setup an PPTP/L2TP VPN on one of my CentOS-7 boxes, I googled this script, it works well on my side. Highly recommended if you wanna build your own L2TP VPN server.

The script is here, which is mainteined by BoizZ. Download it and run it on your server, followed by several questions the installation procedures are fully automated. There are some points which need attention,

  • Mind that the prompt message from script is not so specific, if not sure, you can run it multiple times.
  • One of the component xl2tpd does not work well with systemd on CentOS-7 by default (I’m running the very latest updates of C7), I beg it with a command “nohup xl2tpd -D &“.

Now it runs smoothly well.. Save my time 🙂 Enjoy.

Share Button

Leave a comment

Your email address will not be published. Required fields are marked *