Linux下L2TP客户端xl2tpd安装配置

2018年7月26日21:53:02 发表评论 2,354 views

服务器环境:Centos 7.5 64位

Linux下L2TP客户端xl2tpd安装配置

1. 安装ppp和xl2tp

2. 配置xl2tpd.conf

文件地址: /etc/xl2tpd/xl2tpd.conf

备份原有的配置文件并删除,然后编辑:

3. 编辑拨号配置文件:

文件路径:/etc/ppp/peers/ifreevpn.l2tpd

4. 启动xl2tpd(不代表启动连接VPN)

5. 开始拨号

6. 添加默认路由指向拨号接口

7. 断开连接

 

 

 

ifree.work

发表评论

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