l2tp pptp相关的一些记录
添加用户名和密码
echo "user l2tpd password *">>/etc/ppp/chap-secrets
/etc/ipsec.conf
dpddelay=30
dpdtimeout=120
改为
dpddelay=5
dpdtimeout=5
http://linux.die.net/man/5/ipsec.conf
dpddelay Set the delay (in seconds) between Dead Peer Dectection (RFC 3706) keepalives (R_U_THERE, R_U_THERE_ACK) that are sent for this connection。
dpdtimeout Set the length of time (in seconds) we will idle without hearing either an R_U_THERE poll from our peer, or an R_U_THERE_ACK reply.
dpdaction :When a DPD enabled peer is declared dead, what action should be taken. hold (default) means the eroute will be put into %hold status, while clear means the eroute and SA with both be cleared. restart means the the SA will immediately be renegotiated, and restart_by_peer means that ALL SA's to the dead peer will renegotiated.
dpdaction=clear is really only useful on the server of a Road Warrior config.
/etc/ipsec.secrets
/etc/init.d/xl2tpd restart
service xl2tpd status
最新文章
- IO流知识点总结
- Linux系统监控命令之iotop
- Win7构造wifi热点【Written By KillerLegend】
- ACM1994
- ADO.NET 快速入门(九):使用关系型数据
- C++实现线程池 .
- [jstips]undefined和null的区别
- heapsort(Java)(最小堆)
- 数据库建模&;逆向工程工具
- Android_注解+反射代替findViewById()
- JS正则表达式验证身份证号码
- CVPR2019 | Mask Scoring R-CNN 论文解读
- Java - Stack源码解析
- js input输入框的总结
- OpenJ_POJ C16D Extracurricular Sports 打表找规律
- 使用 Selenium
- [转]Centos7下面配置静态IP
- busybox hexdump 命令使用
- Django1.6 运行manage.py 报错解决办法(ImportError)
- DEV 打印功能