centos7配置l2tpvpn

centos7安装l2tp可以使用github项目进行安装,安装成功之后需要根据自己的实际情况调整ipsec.conf ppp 以及xl2tp.conf

安装完成后需要使用ipsec verify验证是否正常连接

Version check and ipsec on-path [OK]

Libreswan 3.15 (netkey) on 3.10.0-229.el7.x86_64

Checking for IPsec support in kernel [OK]

NETKEY: Testing XFRM related proc values

ICMP default/send_redirects [OK]

ICMP default/accept_redirects [OK]

XFRM larval drop [OK]

Pluto ipsec.conf syntax [OK]

Hardware random device [N/A]

Two or more interfaces found, checking IP forwarding [OK]

Checking rp_filter [OK]

Checking that pluto is running [OK]

Pluto listening for IKE on udp 500 [OK]

Pluto listening for IKE/NAT-T on udp 4500 [OK]

Pluto ipsec.secret syntax [OK]

Checking ‘ip’ command [OK]

Checking ‘iptables’ command [OK]

Checking ‘prelink’ command does not interfere with FIPSChecking for obsolete ipsec.conf options [OK]

Opportunistic Encryption [DISABLED]

转载请注明来源链接 http://just4fun.im/2016/09/30/sbkefu/ 尊重知识,谢谢:)