今天以华为USG系列防火墙为例,写一个在企业出口配置防火墙的网络实验。
防火墙作为VAS设备,向租户提供安全策略、EIP、源NAT、IPSec、内容安全等增值安全服务。作为执行器,接收控制器下发的防御策略,及时阻断威胁流量。
应用领域包括:校园出口、广电网络、金融中心、企业园区、云计算等。
以企业园区为例:防火墙部署在大中型企业出口提供Internet接入、VPN互联和安全防护功能,主要使用双机热备、NAT、ISP智能选路、VPN、攻击防范等功能。
下面列举2个应用场景配置:CLI和Web
管理员登录设备后,首先要对设备进行网络基础配置,使设备快速接入网络,如下图,企业购买了FW作为企业出口网关。管理员在登录FW后,首先需要对FW进行网络基础配置,包括设备名称、时钟、接口IP地址、安全区域、缺省路由及缺省包过滤的配置。

CLI配置思路
- 配置FW的设备名称。
- 配置FW的时钟。
- 配置FW各业务接口的IP地址。IP地址需要在配置前进行统一规划。
- 将各个业务接口加入安全区域。一般情况下,连接外网的接口加入安全级别低的安全区域(例如untrust区域),连接内网的接口加入安全级别高的安全区域(例如trust区域),服务器可以加入DMZ区域。
- 配置缺省路由,下一跳为ISP提供的接入点。
- 打开缺省包过滤,保证FW能够接入Internet。缺省情况下,缺省包过滤关闭。
CIL操作步骤
1.配置设备名称
<FW> system-view [FW] sysname FW_A [FW_A] quit
2.配置时钟,包括当前时间和时区。
<FW> clock datetime 18:10:45 2023-08-14 <FW> clock timezone BJ add 08:00:00
3.配置接口的IP地址。连接外网的接口IP地址(本例为10.1.1.1/24)需要从当地ISP获取。
<FW_A> system-view [FW_A] interface GigabitEthernet 0/0/0 [FW_A-GigabitEthernet0/0/0] ip address 192.168.1.1 24 [FW_A-GigabitEthernet0/0/0] quit [FW_A] interface GigabitEthernet 0/0/1 [FW_A-GigabitEthernet0/0/1] ip address 10.1.1.1 24 [FW_A-GigabitEthernet0/0/1] quit [FW_A] interface GigabitEthernet 0/0/2 [FW_A-GigabitEthernet0/0/2] ip address 1.1.1.1 24 [FW_A-GigabitEthernet0/0/2] quit
4.将各个业务接口加入安全区域。
[FW_A] firewall zone trust [FW_A-zone-trust] add interface GigabitEthernet 0/0/0 [FW_A-zone-trust] quit [FW_A] firewall zone dmz [FW_A-zone-dmz] add interface GigabitEthernet 0/0/1 [FW_A-zone-dmz] quit [FW_A] firewall zone untrust [FW_A-zone-untrust] add interface GigabitEthernet 0/0/2 [FW_A-zone-untrust] quit
5.配置缺省路由。
[FW_A] ip route-static 0.0.0.0 0.0.0.0 1.1.1.254
6.打开缺省包过滤,保证FW能够接入Internet。
这里同样可以用脚本直接导入的方式实现一键配置,以下是完整的配置脚本:
# sysname FW_A # interface GigabitEthernet0/0/0 ip address 192.168.1.1 255.255.255.0 # interface GigabitEthernet0/0/1 ip address 10.1.1.1 255.255.255.0 # interface GigabitEthernet0/0/2 ip address 1.1.1.1 255.255.255.0 # firewall zone trust set priority 85 add interface GigabitEthernet0/0/0 # firewall zone dmz set priority 50 add interface GigabitEthernet0/0/1 # firewall zone untrust set priority 5 add interface GigabitEthernet0/0/2 # ip route-static 0.0.0.0 0.0.0.0 1.1.1.254 # security-policy default action permit # return
Web配置思路
- 配置FW的时钟。
- 配置FW各业务接口的IP地址。IP地址需要在配置前进行统一规划。
- 将各个业务接口加入安全区域。一般情况下,连接外网的接口加入安全级别低的安全区域(例如untrust区域),连接内网的接口加入安全级别高的安全区域(例如trust区域),服务器可以加入DMZ区域。
- 配置缺省路由,下一跳为ISP提供的接入点。
- 打开缺省包过滤,保证FW能够接入Internet。缺省情况下,缺省包过滤关闭。
Web操作步骤
- 配置时钟,包括当前时间和时区。
- 选择“系统 > 配置 > 时钟配置”。
- 在“配置方式”中选择“手动配置时间”。
- 配置“时区”。
- 配置“日期”。
- 配置“系统时间”。
- 单击“应用”。
- 配置接口0的IP地址和安全区域。
- 选择“网络 > 接口”。
- 单击GE0/0/0。
- 按如下参数配置接口GE0/0/0。安全区域trust的IP地址192.168.1.1/24
- 单击“确定”。
- 重复上述步骤按如下参数配置接口GE0/0/1。安全区域dmz的IP地址10.1.1.1/24
- 重复上述步骤按如下参数配置接口GE0/0/2。安全区域untrust的IP地址1.1.1.1/24
- 配置缺省路由。
- 选择“网络 > 路由 > 静态路由”。
- 单击“新建”。
- 按如下参数配置缺省路由。目的地址0.0.0.0掩码0.0.0.0下一跳1.1.1.254
- 单击“确定”。
- 打开缺省包过滤,保证FW能够接入Internet。一般情况下建议保持缺省包过滤关闭,然后配置具体允许哪些数据流通过的安全策略。
- 选择“策略 > 安全策略”。
- 修改default安全策略的动作为允许。
- 单击“确定”。
以上就是企业出口防火墙典型案例的详细配置,感兴趣的同学可以在ensp搭建拓扑图试一下。

In Uzbekistan, the official 888starz platform unites online casino and sports betting in one place.
More than 300 live casino tables with real dealers are available around the clock.
Betting markets include top leagues such as the Premier League, La Liga and major local tournaments.
The official site offers regular bonuses such as 50% cashback and various insurance deals.
888starz lets users create a new account in several ways in only a few minutes.
888starz apk [url=http://fysiozuid.nl/]888starz apk[/url]
888starz apk [url=https://www.vetsintez.com]888starz apk[/url]
The official 888starz website in Uzbekistan brings casino games and sports betting together on a single platform.
The latest slots and most popular titles are featured at the top of the casino page.
888starz offers betting on over fifty sports including football, tennis, basketball and esports.
The official 888starz site gives new players in Uzbekistan a welcome package of up to 1500 euros with 150 free spins.
Customer support works around the clock in English and local languages via chat, email and phone.
In Uzbekistan, the official 888starz platform unites online casino and sports betting in one place.
More than 300 live casino tables with real dealers are available around the clock.
Betting markets include top leagues such as the Premier League, La Liga and major local tournaments.
888starz offers new players in Uzbekistan a welcome offer reaching 1500 euros and 150 free spins.
888starz lets users create a new account in several ways in only a few minutes.
888starz [url=http://www.sodibet.com/]888starz apk[/url]
Everything from slots to live tables is available on the official True Fortune site.
A dedicated live casino streams real-dealer roulette, blackjack and baccarat around the clock.
The promotions page lists reload bonuses, tournaments and cashback offers.
Topping up an account is instant with no fees on most payment methods.
Certified RNG technology ensures every spin and hand is completely random.
Clear rules and a well-organised help centre keep everything straightforward.
true fortune code [url=https://www.true-fortune-casino19.com/promocode/]true fortune code[/url]
Только лучшее здесь: https://frenchspeak.ru/%D0%B2%D0%B5%D0%BB%D0%B8%D0%BA
True Fortune casino has become a go-to online casino for many players in the United Kingdom.
The lobby showcases jackpot slots and the latest releases right at the top.
The promotions page lists reload bonuses, tournaments and cashback offers.
Deposits are processed instantly so players can start playing within minutes.
Player information is protected with encryption and strict data-handling standards.
Players can enjoy the full game library on mobile without installing an app.
100 bonus code for true fortune casino [url=https://www.true-fortune-casino27.com/bonus/]100 bonus code for true fortune casino[/url]
The site combines a huge game library with a clean, modern interface.
True Fortune offers an extensive range of slots covering every theme and volatility level.
First-time players receive a welcome bonus plus free spins after signing up.
Adding funds takes just a moment and play begins straight away.
Fair play is guaranteed by independently tested RNG games with published RTP rates.
The support team responds quickly via chat and email at any hour.
true fortune 50 free spins no deposit [url=true-fortune-casino17.com/free-spins]true fortune 50 free spins no deposit[/url]
Designed with players in the United Kingdom in mind, the site keeps registration and play simple.
True Fortune offers an extensive range of slots covering every theme and volatility level.
Players enjoy recurring promotions including cashback and free spins on selected slots.
true fortune free bonus [url=https://www.true-fortune-casino23.com/bonus]true fortune free bonus[/url]
The casino aims to process cashouts fast, especially for verified accounts.
Player information is protected with encryption and strict data-handling standards.
The site is fully responsive, adapting to any screen size on the go.
True Fortune casino has become a go-to online casino for many players in the United Kingdom.
Progressive jackpots and top-rated new releases are highlighted in the casino lobby.
The promotions page lists reload bonuses, tournaments and cashback offers.
Deposits are processed instantly so players can start playing within minutes.
Players in the United Kingdom can use built-in tools to keep their gambling under control.
free spins bonus code for true fortune casino [url=https://true-fortune-casino26.com/free-spins]free spins bonus code for true fortune casino[/url]
The mobile casino runs smoothly in any browser with no download required.
Только лучшие материалы: https://russkoitalslovar.ru/%D0%BF%D0%BE%D0%B4%D0%BD%D1%8F%D1%82%D1%8C%D1%81%D1%8F