今天在CentOS7中安装部署L2TP,但是用
启动的时候,总是报下面的错误:1
systemctl
1 | xl2tpd.service start request repeated too quickly refusing to start |
直接使用
就能启动成功,于是把重点检查对象放在了1
xl2tpd -D
这个文件上。1
/usr/lib/systemd/system/xl2tpd.service
通过多次试验,发现把下面的这行注释掉后,就能正常使用了
1 | #ExecStartPre=/sbin/modprobe -q l2tp_ppp |
另外再附带上iptables的配置:
1 | iptables --table nat --append POSTROUTING --jump MASQUERADE |
解决 xl2tpd.service start request repeated too quickly refusing to start was originally published by ETY001 at DoMyself on January 22, 2016.