按照配置指导文档,完成配置后,验证配置发现不成功。
日志服务器是centos7,配置rsyslog服务,udp514,tcp514均打开,内置firewall服务关闭。通过命令netstat -tulpn | grep 514查得端口监听正常,通过网络中的其他电脑用tcping测试,可以正常ping通tcp514端口。通过tcpdump -i any port 514命令可以正常侦测到tcping发送过来的报文
F1000防火墙在配置完成后,通过tcpdump -i any port 514命令发现没有侦测到防火墙发送过来的任何514端口报文
#信息中心默认开启
info-center enable
#
#nat log日志开启
nat log enable
nat log flow-active 30
nat log flow-begin
nat log flow-end
#
#customlog相关配置
customlog format nat telecom
customlog format session
customlog format security-policy sgcc
customlog format dpi ips sgcc policy-hit
customlog format dpi anti-virus
customlog format scd
customlog host 172.17.122.240 export telecom-userlog
customlog host source M-GigabitEthernet1/0/0
#
#接口
interface M-GigabitEthernet1/0/0
ip address 172.17.122.231 255.255.255.0
#接口的安全域
security-zone name Management
import interface M-GigabitEthernet1/0/0
import interface M-GigabitEthernet1/0/1
#
#安全策略
security-policy ip
rule 60 name local-Management
action pass
source-zone Management
destination-zone Local
rule 61 name Management-local
action pass
source-zone Local
destination-zone Management
#
#测试ping日志服务器
[YQLT-H3C-F1000]ping 172.17.122.240
Ping 172.17.122.240 (172.17.122.240): 56 data bytes, press CTRL+C to break
56 bytes from 172.17.122.240: icmp_seq=0 ttl=64 time=0.698 ms
56 bytes from 172.17.122.240: icmp_seq=1 ttl=64 time=0.604 ms
56 bytes from 172.17.122.240: icmp_seq=2 ttl=64 time=0.592 ms
56 bytes from 172.17.122.240: icmp_seq=3 ttl=64 time=0.590 ms
56 bytes from 172.17.122.240: icmp_seq=4 ttl=64 time=0.638 ms
#防火墙version信息
[YQLT-H3C-F1000]disp version
H3C Comware Software, Version 7.1.064, Release 8601P14
Copyright (c) 2004-2020 New H3C Technologies Co., Ltd. All rights reserved.
H3C SecPath F1000-AI-60 uptime is 67 weeks, 3 days, 7 hours, 44 minutes
Last reboot reason: User reboot
Boot image: flash:/F1090FW-CMW710-BOOT-R8601P14.bin
Boot image version: 7.1.064, Release 8601P14
Compiled Apr 03 2020 15:00:00
System image: flash:/F1090FW-CMW710-SYSTEM-R8601P14.bin
System image version: 7.1.064, Release 8601P14
Compiled Apr 03 2020 15:00:00
SLOT 1
CPU type: Multi-core CPU
DDR4 SDRAM Memory: 8192M bytes
FLASH: 7296M bytes
CPLD_A Version: 1.0
CPLD_B Version: 2.0
Release Version:SecPath F1000-AI-60-8601P14
Basic BootWare Version:1.07
Extend BootWare Version:1.07
BuckleBoard Version:Ver.A
BackBoard1 Version:Ver.A
BackBoard2 Version:Ver.D
HD_BackBoard Version:Ver.A
Pcb Version:Ver.B
[SUBCARD 0] NSQ1F1MSPUOTXA(Hardware)Ver.B, (Driver)1.0, (Cpld)1.0
Boot Type: Cold
有文档说是还需要在nat接口下加入logging关键字,比如接口下packet-filter 3006 outbound logging,但是我这个版本没有
disp logbuffer也有很多日志输出
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
肯定了是防火墙的问题,不知道是哪里配置错误或者是不全,从debug抓包都可以看出来