Centos 一键安装 L2tp
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/across/master/l2tp.sh chmod +x l2tp.sh ./l2tp.sh
ipsec status (查看 IPSec 运行状态) ipsec verify (查看 IPSec 检查结果) /etc/init.d/ipsec start|stop|restart|status (CentOS6 下使用) /etc/init.d/xl2tpd start|stop|restart (CentOS6 下使用) systemctl start|stop|restart|status ipsec (CentOS7 下使用) systemctl start|stop|restart xl2tpd (CentOS7 下使用) service ipsec start|stop|restart|status (Debian/Ubuntu 下使用) service xl2tpd start|stop|restart (Debian/Ubuntu 下使用)
备用脚本: 下载 wget https://git.io/vpnsetup -O vpnsetup.sh && sudo 配置脚本 nano -w vpnsetup.sh 进入编辑 开始安装 sudo sh vpnsetup.sh 备用脚本2: wget —no–check–certificate https://raw.githubusercontent.com/teddysun/across/master/l2tp.sh chmod +x l2tp.sh ./l2tp.sh
若文章对您有帮助,帮忙点个赞!
(微信扫码即可登录,无需注册)