华为赛门铁克防火墙配置

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
[USG5300-policy-interzone-trust-dmz-outbound] policy 1
[USG5300-policy-interzone-trust-dmz-outbound-1] policy destination range 192.168.1.2 192.168.1.3
<USG5300> system-view
[USG5300] interface GigabitEthernet 0/0/0
[USG5300-GigabitEthernet0/0/0] ip address 10.1.1.1 24
[USG5300-GigabitEthernet0/0/0] quit
[USG5300] firewall interzone trust dmz
[USG5300-interzone-trust-dmz] detect ftp
[USG5300-interzone-trust-dmz] quit
[USG5300] firewall interzone untrust dmz
[USG5300-nat-policy-interzone-trust-untrust-outbound] policy 1
[USG5300-nat-policy-interzone-trust-untrust-outbound-1] policy source address-set add
[USG5300-nat-policy-interzone-trust-untrust-outbound-1] action source-nat
[USG5300-policy-interzone-trust-dmz-outbound-1] action permit
[USG5300-policy-interzone-trust-dmz-outbound-1] quit
[USG5300-policy-interzone-trust-dmz-outbound] quit# 配置Untrust与DMZ域间防火墙策略。
配置Trust到Untrust的NAT Outbound,实现需求一。
# 配置NAT地址池。
[USG5300] nat address-group 1 202.168.1.10 202.168.1.15# 配置Trust到Untrust的NAT Outbound。
[USG5300] nat-policy interzone trust untrust outbound
[USG5300-policy-interzone-trust-untrust-outbound] policy 1
[USG5300-policy-interzone-trust-untrust-outbound-1] policy source address-set add
[USG5300-policy-interzone-trust-untrust-outbound-1] action permit
配置NAT Server,实现需求二和需求三。
# 配置NAT Server。
[USG5300] nat server global 202.168.10.10 inside 192.168.1.2
[USG5300] nat server global 202.168.10.20 inside 192.168.1.3# 配置FTP的NAT ALG。
[USG5300] policy interzone dmz untrust inbound
[USG5300-policy-interzone-dmz-untrust-inbound] policy 1
[USG5300-policy-interzone-dmz-untrust-inbound-1] policy destination range 192.168.1.2 192.168.1.3
[USG5300-nat-policy-zone-dmz-1] action source-nat
[USG5300-nat-policy-zone-dmz-1] address-group 2
[USG5300-nat-policy-zone-dmz-1] quit
[USG5300-nat-policy-zone-dmz] quit
[USG5300-policy-interzone-trust-untrust-outbound-1] quit
[USG5300-policy-interzone-trust-untrust-outbound] quit# 配置Trust与DMZ域间防火墙策略。
[USG5300] policy interzone trust dmz outbound
[USG5300-zone-trust] quit
[USG5300] firewall zone untrust
[USG5300-zone-untrust] add interface GigabitEthernet 0/0/1
[USG5300-zone-untrust] quit
[USG5300] firewall zone dmz
[USG5300-nat-policy-interzone-trust-untrust-outbound-1] address-group 1
[USG5300-nat-policy-interzone-trust-untrust-outbound-1] quit
[USG5300-nat-policy-interzone-trust-untrust-outbound] quit
[USG5300-zone-dmz] add interface GigabitEthernet 0/0/2
[USG5300-zone-dmz] quit
配置域间防火墙策略。
# 配置Trust与Untrust域间防火墙策略。
[USG5300] ip address-set add type object
[USG5300-policy-interzone-dmz-untrust-inbound-1] action permit
[USG5300-policy-interzone-dmz-untrust-inbound-1] quit
[USG5300-policy-interzone-dmz-untrust-inbound] quit
[USG5300-GigabitEthernet0/0/2] ip address 192.168.1.1 24
[USG5300-GigabitEthernet0/0/2] quit# 将USG5300接口加入安全区域。
[USG5300] firewall zone trust
[USG5300-zone-trust] add interface GigabitEthernet 0/0/0
[USG5300] firewall zone dmz
[USG5300-zone-dmz] detect ftp
[USG5300-zone-dmz] quit
[USG5300-object-address-set-add] address range 10.1.1.10 10.1.1.20
[USG5300-object-address-set-add] quit
[USG5300] policy interzone trust untrust outbound
[USG5300] interface GigabitEthernet 0/0/1
[USG5300-GigabitEthernet0/0/1] ip address 202.168.1.1 24
[USG5300-GigabitEthernet0/0/1] quit
[USG5300] interface GigabitEthernet 0/0/2
[USG5300-interzone-dmz-untrust] detect ftp
[USG5300-interzone-dmz-untrust] quit
配置DMZ安全区域的域内NAT,实现需求四。
# 配置NAT地址池。
[USG5300] nat address-group 2 202.168.10.2 202.168.10.3
# 配置域内NAT和FTP的NAT ALG功能。
[USG5300]nat-policy zone dmz
[USG5300-nat-policy-zone-dmz] policy 1
[USG5300-nat-policy-zone-dmz-1] policy source range 192.168.1.2 192.168.1.3
相关文档
最新文档