客户的防火墙给他增加了远程登陆设备的命令后,IPSec VPN 就不能互通了,只在untrust-local untrust-trust 放通了pass策略,然后VPN就不能互通了
之前没放通策略的配置文件<F1000-AK108-1>dis cu # version 7.1.064, Release 9510P06 # sysname F1000-AK108-1 # context Admin id 1 # telnet server enable # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # dhcp enable # password-recovery enable # vlan 1 # dhcp server ip-pool vlan1 gateway-list 10.137.241.1 network 10.137.241.0 mask 255.255.255.0 dns-list 61.132.163.68 # dhcp server ip-pool vlan9 gateway-list 10.137.241.1 dns-list 61.132.163.68 # interface NULL0 # interface GigabitEthernet1/0/0 port link-mode route ip address 192.168.0.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-mode route ip address 36.7.68.155 255.255.255.0 nat outbound 3001 nat server protocol tcp global current-interface 23 inside 192.168.1.1 23 disab le undo dhcp select server ipsec apply policy peer1 # interface GigabitEthernet1/0/2 port link-mode route ip address 192.168.1.1 255.255.255.0 # interface GigabitEthernet1/0/3 port link-mode route # interface GigabitEthernet1/0/4 port link-mode route # interface GigabitEthernet1/0/5 port link-mode route # interface GigabitEthernet1/0/6 port link-mode route # interface GigabitEthernet1/0/7 port link-mode route ip address 10.137.241.1 255.255.255.0 # object-policy ip Any-Any rule 0 pass counting # object-policy ip Trust-Untrust rule 0 pass counting # object-policy ip Untrust-Trust rule 0 pass counting # security-zone name Local # security-zone name Trust import interface GigabitEthernet1/0/2 import interface GigabitEthernet1/0/7 # security-zone name DMZ # security-zone name Untrust import interface GigabitEthernet1/0/1 # security-zone name Management import interface GigabitEthernet1/0/0 # zone-pair security source Any destination Any object-policy apply ip Any-Any packet-filter 3000 # zone-pair security source Any de stination Local packet-filter 3000 # zone-pair security source Local destination Any packet-filter 3000 # zone-pair security source Local destination Local packet-filter 3000 # zone-pair security source Local destination Untrust packet-filter 3000 # zone-pair security source Trust destination Any packet-filter 3000 # zone-pair security source Trust destination Trust packet-filter 3000 # zone-pair security source Trust destination Untrust object-policy apply ip Trust-Untrust # zone-pair security source Untrust destination Any packet-filter 3000 packet-filter 3002 # zone-pair security source Untrust destination Local packet-filter 3002 # zone-pair security source Untrust destination Trust object-policy apply ip Untrust-Trust packet-filter 3002 packet-filter 3100 # scheduler logfile size 16 # line class aux user-role network-operator # line class console user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line con 0 authentication-mode scheme user-role network-admin # line vty 0 63 authentication-mode scheme user-role network-admin # ip route-static 0.0.0.0 0 GigabitEthernet1/0/1 36.7.68.1 ip route-static 10.0.0.0 8 192.168.9.200 ip route-static 10.0.0.0 8 10.137.241.200 ip route-static 10.0.1.23 32 192.168.9.200 ip route-static 10.0.1.23 32 10.137.241.200 ip route-static 10.0.1.36 32 192.168.9.200 ip route-static 10.0.1.36 32 10.137.241.200 ip route-static 10.0.4.139 32 192.168.9.200 ip route-static 10.0.4.139 32 10.137.241.200 ip route-static 10.0.7.225 32 192.168.9.200 ip route-static 10.0.7.225 32 10.137.241.200 ip route-static 10.0.33.162 32 192.168.9.200 ip route-static 10.0.33.162 32 10.137.241.200 ip route-static 10.0.34.10 32 192.168.9.200 ip route-static 10.0.34.10 32 10.137.241.200 ip route-static 10.0.52.54 32 192.168.9.200 ip route-static 10.0.52.54 32 10.137.241.200 ip route-static 10.0.52.55 32 192.168.9.200 ip route-static 10.0.52.55 32 10.137.241.200 ip route-static 10.0.60.110 32 192.168.9.200 ip route-static 10.0.60.110 32 10.137.241.200 ip route-static 10.0.76.11 32 192.168.9.200 ip route-static 10.0.76.11 32 10.137.241.200 ip route-static 10.0.99.123 32 192.168.9.200 ip route-static 10.0.99.123 32 10.137.241.200 ip route-static 10.0.118.22 32 192.168.9.200 ip route-static 10.0.118.22 32 10.137.241.200 ip route-static 10.0.118.23 32 192.168.9.200 ip route-static 10.0.118.23 32 10.137.241.200 ip route-static 10.0.118.24 32 192.168.9.200 ip route-static 10.0.118.24 32 10.137.241.200 ip route-static 10.0.118.25 32 192.168.9.200 ip route-static 10.0.118.25 32 10.137.241.200 ip route-static 10.0.118.26 32 192.168.9.200 ip route-static 10.0.118.26 32 10.137.241.200 ip route-static 10.0.118.27 32 192.168.9.200 ip route-static 10.0.118.27 32 10.137.241.200 ip route-static 10.0.120.12 32 192.168.9.200 ip route-static 10.0.120.12 32 10.137.241.200 ip route-static 10.0.120.13 32 192.168.9.200 ip route-static 10.0.120.13 32 10.137.241.200 ip route-static 10.0.221.190 32 192.168.9.200 ip route-static 10.0.221.190 32 10.137.241.200 ip route-static 10.1.7.117 32 192.168.9.200 ip route-static 10.1.7.117 32 10.137.241.200 ip route-static 10.4.0.19 32 192.168.9.200 ip route-static 10.4.0.19 32 10.137.241.200 ip route-static 10.8.8.3 32 192.168.9.200 ip route-static 10.8.8.3 32 10.137.241.200 ip route-static 10.8.40.1 32 192.168.9.200 ip route-static 10.8.40.1 32 10.137.241.200 ip route-static 10.10.3.32 32 192.168.9.200 ip route-static 10.10.3.32 32 10.137.241.200 ip route-static 10.10.3.34 32 192.168.9.200 ip route-static 10.10.3.34 32 10.137.241.200 ip route-static 10.10.3.35 32 192.168.9.200 ip route-static 10.10.3.35 32 10.137.241.200 ip route-static 10.10.3.36 32 192.168.9.200 ip route-static 10.10.3.36 32 10.137.241.200 ip route-static 10.152.185.66 32 192.168.9.200 ip route-static 10.152.185.66 32 10.137.241.200 ip route-static 10.152.194.108 32 192.168.9.200 ip route-static 10.152.194.108 32 10.137.241.200 ip route-static 10.152.200.239 32 192.168.9.200 ip route-static 10.152.200.239 32 10.137.241.200 ip route-static 10.153.183.8 32 192.168.200.9 ip route-static 10.153.183.254 32 192.168.9.200 ip route-static 10.153.183.254 32 10.137.241.200 ip route-static 10.153.184.128 32 192.168.9.200 ip route-static 10.153.184.128 32 10.137.241.200 ip route-static 10.153.184.145 32 192.168.9.200 ip route-static 10.153.184.145 32 10.137.241.200 ip route-static 10.201.4.131 32 192.168.9.200 ip route-static 10.201.4.131 32 10.137.241.200 ip route-static 10.201.55.102 32 192.168.9.200 ip route-static 10.201.55.102 32 10.137.241.200 ip route-static 10.201.55.173 32 192.168.9.200 ip route-static 10.201.55.173 32 10.137.241.200 ip route-static 10.206.160.58 32 192.168.9.200 ip route-static 10.206.160.58 32 10.137.241.200 ip route-static 10.206.162.206 32 192.168.9.200 ip route-static 10.206.162.206 32 10.137.241.200 ip route-static 10.207.185.6 32 192.168.9.200 ip route-static 10.207.185.6 32 10.137.241.200 ip route-static 192.18.0.2 32 192.168.9.200 ip route-static 192.18.0.2 32 10.137.241.200 ip route-static 192.168.2.0 24 36.7.68.1 ip route-static 192.168.14.8 32 192.168.9.200 ip route-static 192.168.14.8 32 10.137.241.200 ip route-static 192.168.21.102 32 192.168.9.200 ip route-static 192.168.21.102 32 10.137.241.200 ip route-static 192.168.210.41 32 192.168.9.200 ip route-static 192.168.210.41 32 10.137.241.200 ip route-static 192.168.210.42 32 192.168.9.200 ip route-static 192.168.210.42 32 10.137.241.200 ip route-static 192.168.210.103 32 192.168.9.200 ip route-static 192.168.210.103 32 10.137.241.200 ip route-static 192.168.210.129 32 192.168.9.200 ip route-static 192.168.210.129 32 10.137.241.200 ip route-static 192.168.210.130 32 192.168.9.200 ip route-static 192.168.210.130 32 10.137.241.200 ip route-static 192.168.210.131 32 192.168.9.200 ip route-static 192.168.210.131 32 10.137.241.200 ip route-static 192.168.210.132 32 192.168.9.200 ip route-static 192.168.210.132 32 10.137.241.200 ip route-static 192.168.221.17 32 192.168.9.200 ip route-static 192.168.221.17 32 10.137.241.200 ip route-static 192.168.221.104 32 192.168.9.200 ip route-static 192.168.221.104 32 10.137.241.200 ip route-static 192.168.221.105 32 192.168.9.200 ip route-static 192.168.221.105 32 10.137.241.200 ip route-static 192.168.221.165 32 192.168.9.200 ip route-static 192.168.221.165 32 10.137.241.200 # ssh server enable # acl advanced 3000 rule 0 permit ip # acl advanced 3001 rule 0 deny ip source 10.137.241.0 0.0.0.255 destination 192.168.2.0 0.0.0.255 rule 1 permit ip source 192.168.1.0 0.0.0.255 rule 2 permit ip source 10.137.241.0 0.0.0.255 # acl advanced 3002 rule 0 permit ip destination 192.168.1.1 0 rule 1 permit ip source 36.7.68.155 0 destination 60.168.132.48 0 rule 2 permit ip source 60.168.132.48 0 destination 36.7.68.155 0 rule 3 permit ip destination 10.137.241.0 0.0.0.255 # acl advanced 3100 rule 1 permit ip source 10.137.241.0 0.0.0.255 destination 192.168.2.0 0.0.0.25 5 # acl advanced name IPsec_GE1/0/1_IPv4_1 rule 1 permit ip source 10.137.241.0 0.0.0.255 destination 192.168.2.0 0.0.0.25 5 # domain system # aaa session-limit ftp 16 aaa session-limit telnet 16 aaa session-limit ssh 16 domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$nARfpXjeq9KT+V0D$7Tv30Mc2SEqFdnnyGRvq7abIxRXS372I2NOquZoxdmD 0QSUTrzeS6e5u0qzukUzzsnYOInsEnUL8Fq86A9cJ/Q== service-type ssh telnet terminal https authorization-attribute user-role level-3 authorization-attribute user-role network-admin authorization-attribute user-role network-operator # ipsec transform-set 1 esp encryption-algorithm 3des-cbc esp authentication-algorithm md5 # ipsec transform-set peer1 esp encryption-algorithm 3des-cbc esp authentication-algorithm md5 pfs dh-group1 # ipsec policy GE1/0/1 1 isakmp transform-set GE1/0/1_IPv4_1 security acl name IPsec_GE1/0/1_IPv4_1 local-address 36.7.68.155 remote-address 60.168.132.48 description vpn ike-profile GE1/0/1_IPv4_1 # ipsec policy peer1 10 isakmp transform-set 1 security acl 3100 remote-address 60.168.132.48 ike-profile peer1 # ike identity fqdn peer1 # ike profile peer1 keychain peer1 exchange-mode aggressive local-identity fqdn peer1 match remote identity fqdn peer2 match remote identity address 60.168.132.48 255.255.255.255 match remote identity address 60.168.132.48 255.255.255.0 proposal 1 # ike proposal 1 authentication-algorithm md5 # ike keychain peer1 match local address GigabitEthernet1/0/1 pre-shared-key address 0.0.0.0 0.0.0.0 key cipher $c$3$eq6QQxVTi6nIaOi6txwp7ZAL wtUAjr4S # ip https port 4433 ip https enable # return
(0)
最佳答案
dis ike sa第一阶段还有吗
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
对端公网地址都不通了 检查trust -untrust策略有没有放行。到对端公网地址不通,VPN自然没有了