本站已运行

攻城狮论坛

作者: wangyutao
查看: 122|回复: 0

more +今日重磅推荐Recommend No.1

所有IT类厂商认证考试题库下载所有IT类厂商认证考试题库下载

more +随机图赏Gallery

【新盟教育】2023最新华为HCIA全套视频合集【网工基础全覆盖】---国sir公开课合集【新盟教育】2023最新华为HCIA全套视频合集【网工基础全覆盖】---国sir公开课合集
【新盟教育】网工小白必看的!2023最新版华为认证HCIA Datacom零基础全套实战课【新盟教育】网工小白必看的!2023最新版华为认证HCIA Datacom零基础全套实战课
原创_超融合自动化运维工具cvTools原创_超融合自动化运维工具cvTools
重量级~~30多套JAVA就业班全套 视频教程(请尽快下载,链接失效后不补)重量级~~30多套JAVA就业班全套 视频教程(请尽快下载,链接失效后不补)
链接已失效【超过几百G】EVE 国内和国外镜像 全有了 百度群分享链接已失效【超过几百G】EVE 国内和国外镜像 全有了 百度群分享
某linux大佬,积累多年的电子书(约300本)某linux大佬,积累多年的电子书(约300本)
乾颐堂现任明教教主Python完整版乾颐堂现任明教教主Python完整版
乾颐堂 教主技术进化论 2018-2019年 最新31-50期合集视频(各种最新技术杂谈视频)乾颐堂 教主技术进化论 2018-2019年 最新31-50期合集视频(各种最新技术杂谈视频)
Python学习视频 0起点视频 入门到项目实战篇 Python3.5.2视频教程 共847集 能学102天Python学习视频 0起点视频 入门到项目实战篇 Python3.5.2视频教程 共847集 能学102天
约21套Python视频合集 核心基础视频教程(共310G,已压缩)约21套Python视频合集 核心基础视频教程(共310G,已压缩)
最新20180811录制 IT爱好者-清风羽毛 - 网络安全IPSec VPN实验指南视频教程最新20180811录制 IT爱好者-清风羽毛 - 网络安全IPSec VPN实验指南视频教程
最新20180807录制EVE开机自启动虚拟路由器并桥接物理网卡充当思科路由器最新20180807录制EVE开机自启动虚拟路由器并桥接物理网卡充当思科路由器

[安全] sslvpn 2个小时掉线问题

[复制链接]
查看: 122|回复: 0
开通VIP 免金币+免回帖+批量下载+无广告
问题:
$ m  ?  ?0 S+ o9 f8 ^3 y2 a- A& A1 V同事反应两个小时sslvpn 会出现掉线问题发现是参数配置原因,设置了超时时间。9 P) D1 y! ?6 b, Q8 Z) V

1 X; C! o1 b/ N$ t' E
8 h# k( M4 o4 l6 p- q修改为none' T  c: ^$ q; M  t* x
vpn-idle-timeout nonevpn-session-timeout nonewr
# t% \9 }! ^, U7 e* d
7 n- X) O8 F% v) N6 G. W. x' u) _" [$ r2 ]- t( {0 A, l7 a
以下是官方解释:! G5 i: Y0 l5 V' _8 Q2 c
https://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/81824-common-ipsec-trouble.html#solution131 j; i4 Y* v* Y" x* @, `" j

' C) P5 |1 Z8 D* j$ P: L. {7 M7 DVerify Idle/Session Timeout
+ {" ^2 k- F( {, K1 B7 PIf the idle timeout is set to 30 minutes (default), it means that it drops the tunnel after 30 minutes of no traffic passes through it.
, R( h& s! u. x+ r& i/ a) VThe VPN client gets disconnected after 30 minutes regardless of the idle timeout parameter and encounters thePEER_DELETE-IKE_DELETE_UNSPECIFIEDerror.2 W( V" h  R  T4 [2 b( u. ^' I
Configureidle timeoutandsession timeoutasnonein order to make the tunnel alwaysup, and so that the tunnel is never dropped even when third party devices are used.
- ]+ a; N+ g% p1 r' [9 C# @5 D3 sASA ' {% w8 `0 N* t8 f; S
Enter thevpn-idle-timeoutcommand in group-policy configuration mode or in username configuration mode in order to configure the user timeout period:
2 [1 M: W1 E9 h0 Ghostname(config)#group-policy DfltGrpPolicy attributeshostname(config-group-policy)#vpn-idle-timeout none
( U! {$ J4 p- ]: c3 O, q' a8 U" p. \; QConfigure a maximum amount of time for VPN connections with thevpn-session-timeoutcommand in group-policy configuration mode or in username configuration mode:2 O- o+ @. e3 \- v# h* j  @( u/ i6 e
hostname(config)#group-policy DfltGrpPolicy attributeshostname(config-group-policy)#vpn-session-timeout none
3 g" N3 R  a( T/ x& AWhen you havetunnel-allconfigured, you do not need to configureidle-timeoutbecause, even if you configure VPN-idle timeout, it does not work because all traffic goes through the tunnel (since tunnel-all is configured).
$ K: k) _9 Y8 s7 a* M, S" |Therefore, the interesting traffic (or even the traffic generated by the PC) is interesting and does not let Idle-timeout come into action.- M: P) G/ E& l0 G
Cisco IOS® Router" E* k6 e9 g  }3 y! s) I$ D6 J6 ?3 s
Use thecrypto ipsec security-association idle-timecommand in global configuration mode or crypto map configuration mode in order to configure the IPsec SA idle timer.
0 Q& a" S1 r; p% R# pBy default IPsec SA idle timers are disabled.$ k# T9 m9 H# H' b! F
crypto ipsec security-association idle-time seconds
0 B$ B# o4 V9 ^* N6 {/ wTime is measured in seconds, which the idle timer allows an inactive peer to maintain an SA. Valid values for the seconds argument range from 60 to 86400.
6 Y, V5 g, I/ J
) p+ ^4 M1 E& d. h( _9 _
CCNA考试 官方正规报名 仅需1500元
回复 论坛版权

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|无图浏览|手机版|网站地图|攻城狮论坛

GMT+8, 2025-10-24 20:50 , Processed in 0.097979 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4 © 2001-2013 Comsenz Inc.

Designed by ARTERY.cn