当前位置: 首页 > linux > 正文

一、 L2TP/IPSec vpn一键安装脚本
运行下面的命令

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


二、 PPTP vpn一键安装脚本
运行下面的命令

wget http://files.cnblogs.com/files/wangbin/vpn_centos.sh
chmod +x ./vpn_centos.sh

如果PPTP成功后无互联网

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
service iptables save

L2TP and PPTP共存一键安装:等您坐沙发呢!

发表评论

gravatar

? razz sad evil ! smile oops grin eek shock ??? cool lol mad twisted roll wink idea arrow neutral cry mrgreen

快捷键:Ctrl+Enter