Home > other >  Huawei router, disconnect session automatically
Huawei router, disconnect session automatically

Time:10-05

Added huawei router has a number of servers, and found that all SSH connections for a period of time after operation, not automatically disconnect the server connection, reconnect and there is no problem, check the Linux system SSH set no problem, direct switch is no problem, the key is to add the router, and have an acl policy, the router configuration is as follows:
Dis current - configuration
[V200R005C20SPC200]
#
Sysname PS_530_RT
#
Drop the illegal - MAC alarm
#
Wlan ac - global carrier id other ac id 0
#
Pki realm default
Enrollment self - signed
#
The acl name ControlForPS 3999

Rule 100 permit IP source 12.32.4.210 0 destination 0.0.0.0 192.168.1.255
Rule 101 permit IP source 12.32.4.211 0 destination 0.0.0.0 192.168.1.255
Rule 102 permit IP source 12.32.4.212 0 destination 0.0.0.0 192.168.1.255
Rule 103 permit IP source 12.32.4.213 0 destination 0.0.0.0 192.168.1.255
Rule 104 permit IP source 12.32.4.214 0 destination 0.0.0.0 192.168.1.255
Rule 105 permit IP source 12.32.4.215 0 destination 0.0.0.0 192.168.1.255
Rule 106 permit IP source 12.32.4.216 0 destination 0.0.0.0 192.168.1.255
Rule 107 permit IP source 12.32.4.217 0 destination 0.0.0.0 192.168.1.255
Rule 108 permit IP source 12.32.4.218 0 destination 0.0.0.0 192.168.1.255
Rule 109 permit IP source 12.32.4.219 0 destination 0.0.0.0 192.168.1.255
Rule 110 permit IP destination 192.168.1.81 0
Rule 111 permit IP source 12.32.3.165 0 destination 0.0.0.0 192.168.1.255
Rule 112 permit IP source 0.0.0.0 192.168.2.255 destination 0.0.0.0 192.168.1.255
Rule 115 permit IP source 12.32.4.223 0 destination 0.0.0.0 192.168.1.255
#
Aaa
The authentication scheme - the default
Authorization - scheme default
Accounting - scheme default
Domain default

Domain default_admin

Local - user admin password cipher % @ % @ MhDt -] 77 # % @ % @
Local - user admin privilege level 3
The local user admin service - type Telnet terminal SSH FTP HTTP
#
Firewall zone Zone_530
Priority 10
#
Firewall zone Zone_PS
Priority 1
#
Firewall zone Local
The priority of 64
#
Firewall interzone Zone_530 Zone_PS
Firewall enable
Packet filter - 3999 outbound
Packet filter - the default permit the inbound

#
Interface GigabitEthernet0/0/0
#
Interface GigabitEthernet0/0/1
The description of 530 _ip
IP address 12.32.3.5 255.255.254.0
NAT static global 12.32.3.111 inside 192.168.1.81 netmask 255.255.255.255
Zone Zone_530
#
Interface GigabitEthernet0/.two survivors
The description PS_To_530_GW
IP address 192.168.1.198 255.255.255.0
Zone Zone_PS
#
Interface Cellular0/0/0
#
Interface Cellular0/0/1
#
Interface NULL0
#
SNMP agent local - 800007 db03105172f75064 engineid
#
The HTTP server enable
HTTP secure - server enable

#
IP route -static 0.0.0.0 0.0.0.0 12.32.2.1
#
The user - interface con 0
Authentication - mode password
Set authentication password cipher % @ % @ EGMUPR# _UG4ZU00NijS9, # WOlN $1 mid-december, @/\ zq>" . # VX8dF WR % @ % @
The user - interface vty 0 4
Authentication - mode password
The user privilege level 3
Set authentication password cipher % @ % @/aN {2) KfHPPhF $J '=8 QNC: DFqk ` nClJd0 * xkL567C "QG: DIc % @ % @
Idle - timeout 60 0
#
Wlan ac
#
Voice
#
Diagnose
#
return

CodePudding user response:

Hello, I am a operations
Our company is using a huawei router, SSH to external server for a period of time, usually after a few minutes will feign death
Can't move also didn't disconnect,
Could you tell me how to solve you the problem is! Huawei after-sales have a solution on this? !
  • Related