【Linux教程】Centos一键安装L2tp教程
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/across/master/l2tp.shchmod +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
以上是 【Linux教程】Centos一键安装L2tp教程 的全部内容, 来源链接: utcz.com/a/116264.html