interface GigabitEthernet1/0/2 是互联网WAN口,ip为192.168.0.230/24 网关192.168.0.1
interface GigabitEthernet1/0/4 是局域网LAN口,IP为10.5.168.1/24,对接的是三层交换机(IP:10.5.168.2/24)
三层交换机下挂的服务器IP段为(10.7.168.X)
请问我的整体配置正确吗?按照安全策略、NAT映射列表、静态路由,请问NAT策略配置是否可生效?
以下是防火墙配置:
#
version 7.1.064, Release 8560P39
#
sysname H3C
#
clock protocol none
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 1
#
dns server 8.8.8.8
dns server 114.114.114.114
#
password-recovery enable
#
vlan 1
#
interface NULL0
#
interface GigabitEthernet1/0/0
port link-mode route
ip address 192.168.10.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-mode route
#
interface GigabitEthernet1/0/2
port link-mode route
description GuideWan Interface
ip address 192.168.0.230 255.255.255.0
dns server 114.114.114.114
nat server protocol tcp global current-interface 76 inside 10.7.168.16 80 rule S1
nat server protocol tcp global current-interface 78 inside 10.7.168.15 80 rule ServerRule_8
nat server protocol tcp global current-interface 81 inside 10.7.168.10 80 rule ServerRule_9
nat server protocol tcp global current-interface 83 inside 10.7.168.14 83 rule ServerRule_10
nat server protocol tcp global current-interface 84 inside 10.7.168.13 22 rule ServerRule_11
nat server protocol tcp global current-interface 85 inside 10.7.168.14 55555 rule ServerRule_12
nat server protocol tcp global current-interface 86 inside 10.7.168.12 22 rule ServerRule_13
nat server protocol tcp global current-interface 123 inside 10.7.168.14 123 rule ServerRule_14
nat server protocol tcp global current-interface 443 inside 10.5.168.1 443 rule ServerRule_55
nat server protocol tcp global current-interface 552 inside 10.7.168.15 555 rule ServerRule_15
nat server protocol tcp global current-interface 553 inside 10.7.168.15 555 rule ServerRule_16
nat server protocol tcp global current-interface 554 inside 10.7.168.14 554 rule ServerRule_17
nat server protocol tcp global current-interface 559 inside 10.7.168.14 559 rule ServerRule_18
nat server protocol tcp global current-interface 655 inside 10.7.168.14 655 rule ServerRule_19
nat server protocol tcp global current-interface 1443 inside 10.7.168.14 443 rule ServerRule_20
nat server protocol tcp global current-interface 1935 inside 10.7.168.14 1935 rule ServerRule_21
nat server protocol tcp global current-interface 2330 inside 10.7.168.1 23 rule ServerRule_22
nat server protocol tcp global current-interface 5010 inside 10.7.168.14 5010 rule ServerRule_23
nat server protocol tcp global current-interface 6009 inside 10.7.168.14 6009 rule ServerRule_24
nat server protocol tcp global current-interface 6014 inside 10.7.168.14 6015 rule ServerRule_25
nat server protocol tcp global current-interface 6201 inside 10.5.168.3 6201 rule SerRule1
nat server protocol tcp global current-interface 6633 inside 192.168.2.1 6633 rule ServerRule_26
nat server protocol tcp global current-interface 7010 inside 10.7.168.14 7010 rule ServerRule_27
nat server protocol tcp global current-interface 7031 inside 10.7.168.14 7031 rule ServerRule_28
nat server protocol tcp global current-interface 7033 inside 10.7.168.14 7033 rule ServerRule_29
nat server protocol tcp global current-interface 7087 inside 10.7.168.14 7087 rule ServerRule_30
nat server protocol tcp global current-interface 7099 inside 10.7.168.14 7199 rule ServerRule_31
nat server protocol tcp global current-interface 7100 inside 10.7.168.14 7100 rule ServerRule_32
nat server protocol tcp global current-interface 7302 inside 10.7.168.14 7303 rule ServerRule_33
nat server protocol tcp global current-interface 7304 inside 10.7.168.14 7304 rule ServerRule_34
nat server protocol tcp global current-interface 7307 inside 10.7.168.14 7307 rule ServerRule_35
nat server protocol tcp global current-interface 7314 inside 10.7.168.14 7314 rule ServerRule_36
nat server protocol tcp global current-interface 7660 inside 10.7.168.14 7660 rule ServerRule_37
nat server protocol tcp global current-interface 8000 inside 10.7.168.10 8001 rule ServerRule_38
nat server protocol tcp global current-interface 8001 inside 10.7.168.14 18001 rule ServerRule_39
nat server protocol tcp global current-interface 8002 inside 10.7.168.16 8001 rule ServerRule_40
nat server protocol tcp global current-interface 8003 inside 10.7.168.15 8001 rule ServerRule_41
nat server protocol tcp global current-interface 8098 inside 10.5.168.1 443 rule ServerRule_42
nat server protocol tcp global current-interface 8201 8202 inside 10.7.168.13 8201 8202 rule ServerRule_43
nat server protocol tcp global current-interface 8204 inside 10.7.168.13 8204 rule ServerRule_44
nat server protocol tcp global current-interface 8208 8220 inside 10.7.168.13 8208 8220 rule ServerRule_45
nat server protocol tcp global current-interface 8222 8400 inside 10.7.168.13 8222 8400 rule ServerRule_46
nat server protocol tcp global current-interface 8603 inside 10.7.168.14 10000 rule ServerRule_47
nat server protocol tcp global current-interface 8800 8999 inside 10.7.168.14 8800 8999 rule ServerRule_48
nat server protocol tcp global current-interface 9017 inside 10.7.168.14 10000 rule ServerRule_49
nat server protocol tcp global current-interface 9018 inside 10.7.168.14 9017 rule ServerRule_50
nat server protocol tcp global current-interface 15000 16999 inside 10.7.168.14 15000 16999 rule ServerRule_51
nat server protocol tcp global current-interface 17000 inside 10.7.168.14 17000 rule ServerRule_52
nat server protocol tcp global current-interface 55555 inside 10.7.168.14 55554 rule ServerRule_53
nat server protocol udp global current-interface 53 inside 10.7.168.13 56666 rule ServerRule_54
manage http inbound
manage http outbound
manage https inbound
manage https outbound
manage netconf-http inbound
manage netconf-https inbound
manage netconf-ssh inbound
manage ping inbound
manage ping outbound
manage snmp inbound
manage ssh inbound
manage ssh outbound
manage telnet inbound
manage telnet outbound
gateway 192.168.0.1
#
interface GigabitEthernet1/0/3
port link-mode route
#
interface GigabitEthernet1/0/4
port link-mode route
description GuideLan Interface
ip address 10.5.168.1 255.255.255.0
manage http inbound
manage http outbound
manage https inbound
manage https outbound
manage netconf-http inbound
manage netconf-https inbound
manage netconf-ssh inbound
manage ping inbound
manage ping outbound
manage snmp inbound
manage ssh inbound
manage ssh outbound
manage telnet inbound
manage telnet outbound
undo dhcp select server
#
interface GigabitEthernet1/0/5
port link-mode route
#
interface GigabitEthernet1/0/6
port link-mode route
#
interface GigabitEthernet1/0/7
port link-mode route
#
interface GigabitEthernet1/0/8
port link-mode route
#
interface GigabitEthernet1/0/9
port link-mode route
#
interface GigabitEthernet1/0/10
port link-mode route
#
interface GigabitEthernet1/0/11
port link-mode route
#
security-zone name Local
#
security-zone name Trust
import interface GigabitEthernet1/0/4
#
security-zone name DMZ
#
security-zone name Untrust
import interface GigabitEthernet1/0/2
#
security-zone name Management
import interface GigabitEthernet1/0/0
#
scheduler logfile size 16
#
line class aux
user-role network-operator
#
line class console
authentication-mode scheme
user-role network-admin
#
line class vty
user-role network-operator
#
line aux 0
authentication-mode none
user-role network-admin
#
line con 0
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/2 192.168.0.1 preference 59
ip route-static 10.0.0.0 8 GigabitEthernet1/0/4 10.5.168.2
#
performance-management
#
ssh server enable
#
undo password-control blacklist all-line
#
domain system
#
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$xc15w2Hq/cSxfUBl$75tYgHWaGc4pRoDFm9DLXXKcUbXsLljSuPZUoN0Ao4A7MTUvaTSbASw7qRF4K4SDjCb/ARHpaKqHfnR9/rc0qA==
service-type ssh terminal https
authorization-attribute user-role level-3
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
nat global-policy
rule name GlobalPolicyRule_1
description GuideNat
source-zone Trust
destination-zone Untrust
action snat easy-ip
#
ip https enable
#
loadbalance isp file flash:/lbispinfo_v1.5.tp
#
security-policy ip
rule 3 name GuideSecPolicy
action pass
#
cloud-management server domain opstunnel-seccloud.h3c.com
#
return
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论