码迷,mamicode.com
首页 > 其他好文 > 详细

l2tp pptp相关的一些记录

时间:2018-08-07 01:38:46      阅读:143      评论:0      收藏:0      [点我收藏+]

标签:int   ref   delay   lin   red   ring   poll   tar   hat   

/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

l2tp pptp相关的一些记录

标签:int   ref   delay   lin   red   ring   poll   tar   hat   

原文地址:https://www.cnblogs.com/xiangnan/p/9434389.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!