专线接防火墙1/1 地址是10.3.128.52对端是10.3.128.49 做的nat地址池10.16.3.2 10.16.3.5 0/1口接一个二层的交换机地址是192.168.10.1 客户端的IP是192.168.10.2
现在的问题客户端ping不通10.3.128.49
这个是防火墙的配置
[***_1000_S] dis cur
#
sysname ***_1000_S
#
l2tp enable
#
firewall packet-filter enable
firewall packet-filter default permit
#
nat address-group 2 10.16.3.2 10.16.3.5
#
firewall statistic system enable
#
firewall binary-log host 192.168.10.1 9002
#
radius scheme system
server-type extended
#
domain ith
domain system
authentication local
ip pool 1 160.166.20.10 160.166.20.100
#
local-user 123
password simple 123
service-type ppp
#
ike dpd defaultdpd
#
acl number 2000
acl number 2002
rule 0 permit source 0.0.0.0 255.255.255.0
#
acl number 3000
rule 0 permit ip destination 160.166.0.52 0.0.0.3
acl number 3002
description WCN_ACL_WAN_IN
rule 0 deny tcp destination-port range 6881 6890
rule 0 comment wcn_BT
rule 1 deny tcp destination-port range 81 82
rule 1 comment wcn_BT
rule 2 deny tcp destination-port eq 6969
rule 2 comment wcn_BT
rule 3 deny tcp destination-port eq 8080
rule 3 comment wcn_BT
rule 4 deny tcp destination-port eq 2710
rule 4 comment wcn_BT
rule 5 deny tcp destination-port range 4661 4662
rule 5 comment wcn_Emule
rule 6 deny udp destination-port eq 6656
rule 6 comment wcn_Emule
rule 11 deny tcp source-port eq 135
rule 12 deny tcp source-port eq 137
rule 13 deny tcp source-port eq 139
rule 14 deny tcp source-port eq 445
acl number 3003
description WCN_ACL_LAN_IN
rule 0 deny tcp destination-port range 6881 6890
rule 0 comment wcn_BT
rule 1 deny tcp destination-port range 81 82
rule 1 comment wcn_BT
rule 2 deny tcp destination-port eq 6969
rule 2 comment wcn_BT
rule 3 deny tcp destination-port eq 8080
rule 3 comment wcn_BT
rule 4 deny tcp destination-port eq 2710
rule 4 comment wcn_BT
rule 5 deny tcp destination-port range 4661 4662
rule 5 comment wcn_Emule
rule 6 deny udp destination-port eq 6656
rule 6 comment wcn_Emule
rule 7 deny udp destination-port eq 4672
rule 7 comment wcn_Emule
rule 8 deny ip destination 121.9.211.201 0
rule 8 comment wcn_Poco
rule 9 deny ip destination 121.9.211.182 0
rule 9 comment wcn_Poco
rule 10 deny udp source-port eq netbios-ns destination 121.9.211.186 0
rule 10 comment wcn_Poco
rule 11 deny ip destination 121.9.213.157 0
rule 11 comment wcn_Poco
rule 12 deny ip destination 121.9.233.71 0
rule 12 comment wcn_Poco
rule 13 deny ip destination 121.9.211.166 0
rule 13 comment wcn_Poco
rule 14 deny ip destination 121.9.211.180 0
rule 14 comment wcn_Poco
rule 15 deny ip destination 121.9.248.56 0
rule 15 comment wcn_Poco
rule 16 deny ip destination 121.9.248.55 0
rule 16 comment wcn_Poco
rule 17 deny ip destination 121.9.248.180 0
rule 17 comment wcn_Poco
rule 18 deny ip destination 221.11.114.227 0
rule 18 comment wcn_Poco
rule 19 deny ip destination 0.0.0.0 0
rule 19 comment wcn_Poco
rule 20 deny ip destination 59.39.59.7 0
rule 20 comment wcn_Poco
rule 21 deny ip destination 59.39.59.8 0
rule 21 comment wcn_Poco
rule 22 deny ip destination 59.39.59.12 0
rule 22 comment wcn_Poco
rule 23 deny ip destination 58.83.130.45 0
rule 23 comment wcn_Poco
rule 24 deny ip destination 58.211.84.138 0
rule 24 comment wcn_Poco
rule 25 deny ip destination 121.9.248.57 0
rule 25 comment wcn_Poco
rule 26 deny ip destination 211.98.110.124 0
rule 26 comment wcn_Poco
rule 27 deny ip destination 61.153.183.37 0
rule 27 comment wcn_Poco
rule 28 deny ip destination 61.153.183.38 0
rule 28 comment wcn_Poco
rule 29 deny ip destination 61.236.145.200 0
rule 29 comment wcn_Poco
rule 30 deny ip destination 8.12.197.124 0
rule 30 comment wcn_Poco
rule 31 deny ip destination 8.12.197.125 0
rule 31 comment wcn_Poco
rule 32 deny ip destination 208.111.144.245 0
rule 32 comment wcn_Poco
rule 33 deny ip destination 208.111.144.208 0
rule 33 comment wcn_Poco
rule 34 deny ip destination 202.75.213.121 0
rule 34 comment wcn_Poco
rule 35 deny ip destination 116.28.65.253 0
rule 35 comment wcn_Poco
rule 36 deny ip destination 208.111.144.214 0
rule 36 comment wcn_Poco
acl number 3005
rule 0 permit ip source 160.166.20.0 0.0.0.255 destination 160.166.0.55 0
rule 1 permit ip source 160.166.20.0 0.0.0.255 destination 160.166.0.49 0
rule 2 deny ip source 160.166.20.0 0.0.0.255
rule 3 permit ip
acl number 3006
rule 5 permit ip
#
interface Virtual-Template1
ppp authentication-mode pap
ip address 160.166.2.200 255.255.255.0
remote address pool 1
#
interface Aux0
async mode flow
#
interface GigabitEthernet0/0
description to zhufanghuoqiang
ip address 160.166.1.9 255.255.255.0
#
interface GigabitEthernet0/1
description ith
ip address 192.168.10.1 255.255.255.0
firewall packet-filter 3006 inbound
firewall packet-filter 3006 outbound
#
interface GigabitEthernet1/0
description WCN_INTERFACE_WAN
ip address 1.1.1.2 255.255.255.252
firewall packet-filter 3002 inbound
nat outbound 2000 interface LoopBack0
#
interface GigabitEthernet1/1
description ith
ip address 10.3.128.52 255.255.255.0
firewall packet-filter 3006 inbound
firewall packet-filter 3006 outbound
nat outbound 3006 address-group 2
#
interface Encrypt2/0
#
interface NULL0
#
interface LoopBack0
ip address 125.35.213.3 255.255.255.255
#
firewall zone local
set priority 100
#
firewall zone trust
add interface GigabitEthernet0/0
add interface GigabitEthernet0/1
set priority 85
statistic enable zone inzone
statistic enable zone outzone
statistic enable ip outzone
#
firewall zone untrust
add interface GigabitEthernet1/0
add interface Virtual-Template1
set priority 5
#
firewall zone DMZ
set priority 50
#
firewall zone name bdgjyy
add interface GigabitEthernet1/1
set priority 65
statistic enable zone inzone
statistic enable zone outzone
statistic enable ip outzone
#
firewall interzone local trust
#
firewall interzone local untrust
#
firewall interzone local DMZ
#
firewall interzone local bdgjyy
#
firewall interzone trust untrust
#
firewall interzone trust DMZ
#
firewall interzone trust bdgjyy
#
firewall interzone DMZ untrust
#
firewall interzone bdgjyy untrust
#
firewall interzone bdgjyy DMZ
#
l2tp-group 1
undo tunnel authentication
mandatory-lcp
allow l2tp virtual-template 1
#
ip route-static 0.0.0.0 0.0.0.0 1.1.1.1 preference 60
ip route-static 10.192.23.0 255.255.255.0 GigabitEthernet 1/1 10.3.128.49 pref
erence 60
ip route-static 160.166.0.0 255.255.255.0 160.166.1.12 preference 60
ip route-static 172.18.1.0 255.255.255.0 160.166.0.61 preference 60
#
user-interface con 0
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
#
return
[***_1000_S]
请各位大侠给看看到底哪里出现了问题,谢谢
(0)
最佳答案
建议排查过程:
1、终端ping 192.168.10.1,看是否能通,如果能通,继续step2
2、终端ping 10.3.128.52,看是否能通,如果能通,继续step3
3、终端ping 10.3.128.49,当然结果应该是不通。建议查看是否nat 会话,dis nat session source-ip 192.168.10.2,如果能看到会话,说明ping 的request报文已经从接口1/1出去了,并且做了NAT转换,此时需要排查专线对端设备,重点是看对端设备是否有道10.16.3.2-10.16.3.5的路由。
从经验分析,很可能是对端没有回程路由导致。
以上排查过程的step1和step2如果不通,则需要排查二层交换机是否有什么异常了。
(0)
1,2都没问题
那专线对端是否有回程路由呢
有,对端可以看到这边的数据过去
dis nat session 能看到 报文出方向nat 转化和入方向nat 吗?
[VPN_1000_S]dis nat session source global 192.168.10.2 系统没有NAT转换信息!
目前总共存在 1 条NAT转换信息: 协议 外部地址 端口 内部地址 端口 目的地址 端口 1 10.16.3.5 12288 192.168.10.2 1 10.192.23.21 1 VPN: 0, status: 20011, TTL: 00:01:00, Left: 00:00:59
dis nat session source 后面为什么要跟golbal啊,直接跟IP地址来看下nat session试试
对端看到有数据包过来,那说明应该NAT成功了的(从配置看,NAT也配置正确的),那么对端有没有回包呢?如果是ping,那让对端设备debug ip icmp就可以看到是否回包了。
[VPN_1000_S]dis nat session 目前总共存在 1 条NAT转换信息: 协议 外部地址 端口 内部地址 端口 目的地址 端口 1 10.16.3.5 12288 192.168.10.2 1 10.192.23.21 1 VPN: 0, status: 20011, TTL: 00:01:00, Left: 00:00:55
nat转换是OK的,从192.168.10.2 ping 10.192.23.21,那么10.192.23.21这个设备/主机,有没有回包呢?要查一下这对端啊
防火墙 上
内网到外网的域间策略 放通了没
display version 看到版本是多少啊
(1)
防火墙ping49是通的,客户端ping49是不通的
CPU type: Mips BCM1125H 600MHz 512M bytes DDR SDRAM Memory 16M bytes Flash Memory Pcb Version:3.0 Logic Version:2.0 BootROM Version:1.29 [SLOT 0] 2GBE (Hardware)3.0, (Driver)2.0, (Cpld)2.0 [SLOT 1] 2GBE (Hardware)3.0, (Driver)2.0, (Cpld)2.0 [SLOT 2] NDEC (Hardware)3.0, (Driver)3.3, (Cpld)2.0
怎么做域间策略
display version 查看第一行 不同平台版本命令不一样
例: Comware Software, Version 5.20, Release 3347 这个就是V5 的R3347 版本 确定一下版本 发来看看
H3C Comware Software Comware software, Version 3.40, Release 1662P07 Copyright (c) 2004-2010 Hangzhou H3C Technologies Co., Ltd. All rights reserved. Without the owner's prior written consent, no decompiling nor reverse-engineering shall be allowed.
v3 加入安全域就可以 终端ping10.1 网关可达吗? 终端ping 防火墙内网口 外网口分别可达吗?
都可以ping通,把哪个家到安全域里?
接口加安全域没问题 ,如果从防火墙本身ping 49 能通吗?
可以的
不通
防火墙ping49是通的,客户端ping49是不通的
[VPN_1000_S]dis nat session
目前总共存在 1 条NAT转换信息:
协议 外部地址 端口 内部地址 端口 目的地址 端口
1 10.16.3.5 12288 192.168.10.2 1 10.192.23.21 1
VPN: 0, status: 20011, TTL: 00:01:00, Left: 00:00:55
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
nat转换是OK的,从192.168.10.2 ping 10.192.23.21,那么10.192.23.21这个设备/主机,有没有回包呢?要查一下这对端啊