当前位置:网站首页>华为防火墙-6
华为防火墙-6
2022-08-11 05:33:00 【macob】
防火墙A
interface Tunnel1
ip address 10.1.1.1 255.255.255.0
tunnel-protocol gre
source 1.2.3.4
destination 2.2.2.2
[FW_A] firewall zone dmz
[FW_A-zone-dmz] add interface Tunnel 1
rule name gre
service gre
action permit
#
ip route-static 10.100.0.0 24 Tunnel 1
防火墙B
interface Tunnel1
ip address 10.1.1.2 255.255.255.0
tunnel-protocol gre
source 2.2.2.2
destination 1.2.3.4
[FW_B] firewall zone dmz
[FW_B-zone-dmz] add interface Tunnel 1
rule name gre
service gre
action permit
#
ip route-static 10.10.0.0 24 Tunnel 1
ip route-static 10.20.0.0 24 Tunnel 1
有一点需要注意,使用OSPF动态路由方式时,如果GRE隧道对应的公网接口也使用OSPF发布路由,那我们就需要用一个新的OSPF进程来发布私网网段和Tunnel接口所在网段了,以免私网报文直接通过公网接口转发,而不是通过GRE隧道转
GRE关键字验证
[USG6000V1-Tunnel1]gre key 12345
隧道两端防火墙上设置的关键字必须相同。
GRE校验和验证
[USG6000V1-Tunnel1]gre checksum
GRE保活
[USG6000V1-Tunnel1]keepalive
根据session表细化安全策略
[FW_A] display firewall session table verbose
边栏推荐
- 记录一个刚写的Makefile
- CLUSTER DAY03 (Ceph overview, the deployment of Ceph CLUSTER, Ceph block storage)
- arcmap下的多进程脚本
- Threatless Technology-TVD Daily Vulnerability Intelligence-2022-7-20
- 升级到Window11体验
- SECURITY DAY03(一键部署zabbix)
- No threat of science and technology - TVD vulnerability information daily - 2022-8-4
- vnc远程桌面安装(2021-10-20日亲测可用)
- mongo-express 远程代码执行漏洞复现
- ansible batch install zabbix-agent
猜你喜欢
随机推荐
Jmeter RMI 反序列化命令执行漏洞复现
消息中间件
利用opencv读取图片,重命名。
项目笔记——随机2
windows10安全中心显示“修正未完成”
中国移动通信集团有限公司:业务委托书
无胁科技-TVD每日漏洞情报-2022-7-26
【LeetCode】2034. 股票价格波动(思路+题解)双map
【LeetCode】851.喧闹与富有(思路+题解)
Es common operations and classical case
Two hundred questions in C language (0 basic continuous update) (1~5)
Threatless Technology-TVD Daily Vulnerability Intelligence-2022-7-19
(1) Software testing theory (0 basic understanding of basic knowledge)
逐步揭示makop.mkp勒索病毒中毒防范恢复解密
无胁科技-TVD每日漏洞情报-2022-7-25
文本三剑客——sed 修改、替换
AUTOMATION DAY06 (Ansible Advanced, Ansible Role)
ansible batch install zabbix-agent
lvm multi-disk mount, combined use
(3) Software testing theory (understanding the knowledge of software defects)