防火墙配置了NAT 出方向的动态转换,但在测试网络通道时,网络配置没有生效,是不是我配置的有问题
对齐方式 靠左 居中 靠右 组网要求:通信相关部门分配了ip地址:10.143.50.130-10.143.50.158,网关10.143.50.129,掩码255.255.255.224 。因网络IP分配的不够,我自己将所有的服务器组了私网,地址段为172.16.100.0,计划通过nat动态转换,将172.16.100.0段的设备和网络上其余设备互通起来。防火墙为F100-M-G2,内网口为1/0/5,地址配置为172.16.100.2。外网口为1/0/4,地址配置为10.143.50.130配置的防火墙信息如附件
(0)
最佳答案
防火墙要配置域间策略或安全策略,同时接口也需要加入安全域。
(0)
已经配置了简单的trust到untrust的域间策略
防火墙做了如下配置,安全域和策略是配置过了
[H3C]show current-configuration
#
version 7.1.064, Release 9524P22
#
sysname H3C
#
context Admin id 1
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 1
#
nat address-group 1
address 10.143.50.131 10.143.50.136
#
dns server 114.114.114.114
dns server 8.8.8.8
#
password-recovery enable
#
vlan 1
#
controller Cellular1/0/0
#
interface NULL0
#
interface GigabitEthernet1/0/0
port link-mode route
combo enable copper
ip address 192.168.0.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-mode route
combo enable fiber
#
interface GigabitEthernet1/0/2
port link-mode route
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet1/0/3
port link-mode route
#
interface GigabitEthernet1/0/4
port link-mode route
ip address 10.143.50.130 255.255.255.224
nat outbound 2001 address-group 1
#
interface GigabitEthernet1/0/5
port link-mode route
ip address 172.16.100.2 255.255.255.0
#
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/5
#
security-zone name DMZ
#
security-zone name Untrust
import interface GigabitEthernet1/0/4
#
security-zone name Management
import interface GigabitEthernet1/0/0
import interface GigabitEthernet1/0/2
#
zone-pair security source Trust destination Untrust
packet-filter 2001
#
scheduler logfile size 16
#
line class aux
user-role network-operator
#
line class console
authentication-mode scheme
user-role network-admin
#
line class usb
user-role network-admin
#
line class vty
user-role network-operator
#
line aux 0
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 10.143.50.129
#
ssh server enable
#
acl basic 2001
rule 0 permit source 172.16.100.0 0.0.0.255
#
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$UbIhNnPevyKUwfpm$LqR3+yg1IjNct39MkOR0H0iQXLkYB3jMqM4vbAeoXOhbabIIFnjJPEGR00YiYA1Sz4LiY3FmEdru2fOLMb1shQ==
service-type ssh terminal https
authorization-attribute user-role level-3
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
ipsec logging negotiation enable
#
ike logging negotiation enable
#
ip https enable
webui log enable
#
security-policy ip
rule 0 name 0
action pass
#
cloud-management server domain ops.seccloud.h3c.com
#
return
(0)
您好,请知:
放通untrust到trust的域间策略看下,参考命令如下:
zone-pair security source untrust destination trust
packet-filter 2001
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
已经配置了简单的trust到untrust的域间策略