l2tp over ipsec
搭建教程:
转自:
https://segmentfault.com/a/1190000006125737
http://www.wangyuxiong.com/blog/ti-yan-qiang-wai-sheng-huo-de-yi-chong-fang-an-l2tpipsec-vpn,23/
问:
xl2tpd[3558]: setsockopt recvref[30]: Protocol not available
xl2tpd[3558]: L2TP kernel support not detected (try modprobing l2tp_ppp and pppol2tp)
xl2tpd[3558]: open_controlfd: Unable to open /var/run/xl2tpd/l2tp-control for reading.
答:
mkdir /var/run/xl2tpd touch /var/run/xl2tpd/l2tp-control