本端出口地址是私网地址,2个对端有公网IP,一端IPsec对接成功,一端IPsec对接不成功。
debug ike all 出现如下提示:
*Jun 6 17:49:57:540 2024 firewall IKE/7/EVENT: -COntext=1; Received message from ipsec, message type is 0.
*Jun 6 17:49:57:540 2024 firewall IKE/7/EVENT: -COntext=1; Received SA acquire message from IPsec.
*Jun 6 17:49:57:540 2024 firewall IKE/7/EVENT: -COntext=1; IKE thread 281472784986608 processes a job.
*Jun 6 17:49:57:540 2024 firewall IKE/7/EVENT: -COntext=1; Received SA acquire message from IPsec.
*Jun 6 17:49:57:540 2024 firewall IKE/7/EVENT: -COntext=1; vrf = 0, local = 192.168.98.3, remote = 183.62.20.2/500
Collision of phase 2 negotiation is found when acquired sa. //此处是什么意思呢?
(0)
ipsec transform-set h3c_IPv4_1
esp encryption-algorithm 3des-cbc
esp authentication-algorithm md5
pfs dh-group2
#
ipsec policy h3c 1 isakmp
transform-set h3c_IPv4_1
security acl name IPsec_h3c_IPv4_1
remote-address 183.6.99.x
ike-profile h3c_IPv4_1
#
ipsec policy h3c 2 isakmp
transform-set h3c_IPv4_1
security acl name seccn
remote-address 183.62.2x.x
ike-profile seccn
#
ike dpd interval 10 on-demand
#
ike profile h3c_IPv4_1
keychain h3c_IPv4_1
dpd interval 10 retry 30 on-demand
exchange-mode aggressive
match remote identity address 183.6.99.x 255.255.255.255
match local address GigabitEthernet1/0/1
proposal 128
#
ike profile seccn
keychain seccn
dpd interval 10 retry 30 on-demand
exchange-mode aggressive
match remote identity address 183.62.2x.x 255.255.255.255
match local address GigabitEthernet1/0/1
proposal 128
#
ike proposal 128
encryption-algorithm 3des-cbc
dh group2
authentication-algorithm md5
sa duration 3600
#
ike keychain h3c_IPv4_1
match local address GigabitEthernet1/0/1
pre-shared-key address 183.6.99.X 255.255.255.255 key cipher xxxxxx
#
ike keychain seccn
match local address GigabitEthernet1/0/1
pre-shared-key address 183.62.2x.x 255.255.255.255 key cipher xxxxxx
#
interface GigabitEthernet1/0/1
port link-mode route
ip address dhcp-alloc
nat outbound 3000
ipsec apply policy h3c
配置在这里,确保数据流没错,加密算法之类的没错,NAT也有排除数据流
(0)
ipsec transform-set h3c_IPv4_1
esp encryption-algorithm 3des-cbc
esp authentication-algorithm md5
pfs dh-group2
pfs dh-group2 把这个undo掉试一下;
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明