美文网首页
CentOS 7 配置VPN(L2TP)

CentOS 7 配置VPN(L2TP)

作者: 劍風 | 来源:发表于2018-02-26 20:55 被阅读0次

下载解压工具

yum install vim net-tools wget unzip -y

下载安装脚本

wget -O StackScript.zip http://files.cnblogs.com/files/think8848/StackScript.zip

解压

unzip StackScript.zip

运行脚本

chmod +x StackScript

./StackScript

安装好后记得移除

rm -rf StackScript.zip

rm -rf StackScript

更改转发规则及账号密码秘钥

vim /etc/ipsec.secrets

vim /etc/xl2tpd/xl2tpd.conf

vim /etc/ppp/chap-secrets

vim /etc/sysconfig/iptables

重启

相关文章

网友评论

      本文标题:CentOS 7 配置VPN(L2TP)

      本文链接:https://www.haomeiwen.com/subject/tqkuxftx.html