Skip to content

Instantly share code, notes, and snippets.

@chroming
Created May 19, 2024 07:53
Show Gist options
  • Select an option

  • Save chroming/3c0ac455b6a955a88cf0b467dd6c1dd3 to your computer and use it in GitHub Desktop.

Select an option

Save chroming/3c0ac455b6a955a88cf0b467dd6c1dd3 to your computer and use it in GitHub Desktop.
双子路由互通配置

设备

主路由: 192.168.1.1 子路由a: 192.168.2.1,wan连接到主路由上,192.168.1.2 子路由b: 192.168.3.1,wan连接到主路由上,192.168.1.3

配置

子路由a上配置静态路由:

192.168.3.0/24 → 192.168.1.3

配置防火墙traffic rules:

  • Protocol: any
  • Source zone: Lan
  • Source address: 192.168.2.0/24
  • Dest zone: Wan
  • Dest address: 192.168.1.0/24

子路由b上配置静态路由:

192.168.2.0/24 → 192.168.1.2

配置防火墙traffic rules:

  • Protocol: any
  • Source zone: Lan
  • Source address: 192.168.3.0/24
  • Dest zone: Wan
  • Dest address: 192.168.1.0/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment