使用命令 dis ike sa 、dis ipsec sa 都有会话信息,但是两端内网pc 不通,在防火墙尝试带源ping对端内网网关,也是不通。对比过好多次配置,貌似也没错,我在HCL实验上做是能通的
长春 | 佛山 | |
①创建感兴趣流 | acl advanced 3300 | acl advanced 3710 |
rule 5 permit ip source 192.168.1.0 0.0.0.255 destination 172.16.1.0 0.0.0.255 | rule 0 permit ip source 172.16.1.0 0.0.0.255 destination 192.168.1.0 0.0.0.255 | |
acl advanced 3500 | acl advanced 3720 | |
rule 15 deny ip source 192.168.1.0 0.0.0.255 destination 172.16.1.0 0.0.0.255 | rule 0 deny ip source 172.16.1.0 0.0.0.255 destination 192.168.1.0 0.0.0.255 | |
rule 100 permit ip | rule 5 permit ip | |
⑤创建IPsec 转换集 | ipsec transform-set vpn_IPv4_1 | ipsec transform-set changchun |
esp encryption-algorithm 3des-cbc | esp encryption-algorithm 3des-cbc | |
esp authentication-algorithm md5 | esp authentication-algorithm md5 | |
⑥创建IPsec 策略 | ipsec policy-template foshan 1 | ipsec policy changchun 1 isakmp |
transform-set foshan | transform-set changchun | |
security acl 3300 | security acl 3710 | |
local-address 221.8.9.134 | local-address 120.196.131.100 | |
remote-address 120.196.131.100 | remote-address 221.8.9.134 | |
ike-profile foshan | ike-profile changchun | |
ipsec policy fz 2 isakmp template foshan | ||
④创建IKE模板 | ike profile foshan | ike profile changchun |
keychain foshan | keychain changchun | |
local-identity address 221.8.9.134 | local-identity address 120.196.131.100 | |
match remote identity address 120.196.131.100 255.255.255.255 | match remote identity address 221.8.9.134 255.255.255.255 | |
proposal 1 | proposal 1 | |
②创建IKE 提议 | ike proposal 1 | ike proposal 1 |
encryption-algorithm 3des-cbc | encryption-algorithm 3des-cbc | |
dh group2 | dh group2 | |
authentication-algorithm md5 | authentication-algorithm md5 | |
sa duration 3600 | sa duration 3600 | |
③创建IKE预共享密钥 | ike keychain foshan | ike keychain changchun |
match local address GigabitEthernet1/0/5 | pre-shared-key address 221.8.9.134 255.255.255.255 key cipher $c$3$8mULlzHFEO4XlDdrqywQZeworyl/+t4mvD6cng== | |
pre-shared-key address 120.196.131.100 255.255.255.255 key cipher $c$3$8mULlzHFEO4XlDdrqywQZeworyl/+t4mvD6cng== | ||
⑦在公网接口下发IPsec策略 | interface GigabitEthernet1/0/5 | interface GigabitEthernet1/0/3 |
port link-mode route | port link-mode route | |
description to_WW | ip address 120.196.131.100 255.255.255.248 | |
ip address 221.8.9.134 255.255.255.248 | nat outbound 3720 | |
nat outbound 3500 | ipsec apply policy changchun | |
ipsec apply policy fz |
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
啊哈哈,我懵逼了,防火墙虽然建立了 IPsec,但是 要用电脑才能ping 得通的