国产午夜视频在线观看,国产国拍精品av在线观看,国产国产人免费人成免费视频,国产福利视频一区二区在线,国产av免费一区二区三区

廈門服務(wù)器租用>服務(wù)器托管>在華為防火墻上配置GRE實現(xiàn)不同地區(qū)網(wǎng)絡(luò)安全連接

在華為防火墻上配置GRE實現(xiàn)不同地區(qū)網(wǎng)絡(luò)安全連接

發(fā)布時間:2023/8/25 11:05:35

在華為防火墻上配置GRE實現(xiàn)不同地區(qū)網(wǎng)絡(luò)安全連接

拓撲如下圖所示:

在華為防火墻上配置GRE實現(xiàn)不同地區(qū)網(wǎng)絡(luò)安全連接-4477

A\B為不同地區(qū)的兩套網(wǎng)絡(luò),需要通過配置GRE實現(xiàn)網(wǎng)絡(luò)安全連接。

配置步驟如下:

1.配置基本的ip地址

2.配置兩臺防火墻之間的路由可以到達,采用靜態(tài)路由配

3.配置防火墻與所屬區(qū)域內(nèi)網(wǎng)的域間策略通過

4.配置tunnel 口 ,其中協(xié)議為gre協(xié)議,源地址為防火墻出口

5.目的地址為另一個防火墻的出口。

6.配置到達對端區(qū)域內(nèi)網(wǎng)的靜態(tài)路由,下一跳是在tunnel 口上。

具體配置如下:

防火墻FW1:

interface GigabitEthernet1/0/3.1

vlan-type dot1q 10 \\vlan的類型打標簽為10

ip address 10.1.1.254 255.255.255.0

ospf network-type p2p \\ospf的網(wǎng)絡(luò)類型為p2p縮短建立鄰居時間

service-manage ping permit

interface GigabitEthernet1/0/3.2

vlan-type dot1q 20

ip address 10.1.2.254 255.255.255.0

ospf network-type p2p

service-manage ping permit

interface GigabitEthernet1/0/4

undo shutdown

ip address 200.1.1.1 255.255.255.0

service-manage ping permit

interface Tunnel0

ip address 172.1.1.1 255.255.255.0

tunnel-protocol gre

source 200.1.1.1

destination 100.1.1.1

firewall zone local

set priority 100

firewall zone trust

set priority 85

add interface GigabitEthernet0/0/0

add interface GigabitEthernet1/0/3

add interface GigabitEthernet1/0/3.1

add interface GigabitEthernet1/0/3.2

firewall zone untrust

set priority 5

add interface GigabitEthernet1/0/4

add interface Tunnel0

靜態(tài)路由的配置:

ip route-static 20.1.0.0 255.255.0.0 Tunnel0

ip route-static 100.1.1.0 255.255.255.0 200.1.1.2

防火墻的域間策略:

security-policy

rule name t_u

source-zone trust

destination-zone untrust

action permit

rule name u_t

source-zone untrust

destination-zone trust

action permit

rule name l_u

source-zone local

destination-zone untrust

action permit

rule name u_ll

source-zone untrust

destination-zone local

action permit

防火墻FW2配置:

interface GigabitEthernet1/0/3.1

vlan-type dot1q 10

description vl10

ip address 20.1.1.254 255.255.255.0

ospf network-type p2p

service-manage ping permit

interface GigabitEthernet1/0/3.2

vlan-type dot1q 20

description vl20

ip address 20.1.2.254 255.255.255.0

ospf network-type p2p

service-manage ping permit

interface GigabitEthernet1/0/4

undo shutdown

ip address 100.1.1.1 255.255.255.0

service-manage ping permit

tunnel 0的ipv4地址:

interface Tunnel0

ip address 172.1.1.2 255.255.255.0

tunnel-protocol gre

source 100.1.1.1

destination 200.1.1.1

把接口加入防火墻的安全區(qū)域:

firewall zone trust

set priority 85

add interface GigabitEthernet0/0/0

add interface GigabitEthernet1/0/3

add interface GigabitEthernet1/0/3.1

add interface GigabitEthernet1/0/3.2

firewall zone untrust

set priority 5

add interface GigabitEthernet1/0/4

add interface Tunnel0

配置到達公網(wǎng)與私網(wǎng)的靜態(tài)路由:

ip route-static 10.1.0.0 255.255.0.0 Tunnel0

ip route-static 200.1.1.0 255.255.255.0 100.1.1.2

配置防火墻的域間策略:

security-policy

rule name t_u

source-zone trust

destination-zone untrust

action permit

rule name u_t

source-zone untrust

destination-zone trust

action permit

rule name l_u

source-zone local

destination-zone untrust

action permit

rule name u_ll

source-zone untrust

destination-zone local

action permit


在線客服
微信公眾號
免費撥打400-1886560
免費撥打0592-5580190 免費撥打 400-1886560 或 0592-5580190
返回頂部
返回頭部 返回頂部