顯示具有 Fortigate 標籤的文章。 顯示所有文章
顯示具有 Fortigate 標籤的文章。 顯示所有文章

12月 19, 2023

在 Virtualbox 跑 Fortigate VM

 1. 先到 Fortinet Download/VM Images (需登入)

2. 防火牆(FortiGate)原廠未提供 Vbox 格式,在此選 FGT KVM 然後手動轉檔,像是:

  • FGT_VM64_KVM-v6.M-build2093-FORTINET.out.kvm.zip
  • FGT_VM64_KVM-v7.4.0.F-build2360-FORTINET.out.kvm.zip
3. 透過 qemu 工具轉檔成 .vdi 格式
  • qemu-img.exe convert -O vdi fortios.qcow2 fortios.vdi
4. 在 VirtualBox 開一台新機器(Linux 64bit)掛載 vdi 成功進入基礎環境,功能待測。

※如果是要跑 FortiWeb(WAF) 可以省去轉檔過程,網站直接有提供 VirtualBox 格式映像檔。

4月 13, 2020

FortiGate 防火牆物件最大表(Maximum Values Table)

在 Fortigate 的設計中,每個網路位址與管理項目都看作是一個物件,防火牆物件儲存量依各型號有所不同。對照表可見 Maximum Values Table(或handbook),而數量限制則有全域(global)、虛擬域(VDOM)兩個分類。
All objects in the maximum values table have either a global limit, which applies to the entire FortiGate configuration, or a VDOM limit, which applies only to a single VDOM.

例如像「IP pools 1024」這就是每個 VDOM 各自有 1024 筆額度;
而「Addresses 20000」則是整台防火牆共可存放二萬筆位址。

在防火牆上可透過指令 print tablesize 進行查詢。
手上的機器 FortiGate 300D:位址物件(整台)20000筆、位址群組(整台)2500組、每個群組可有300筆位址物件。

9月 12, 2018

快速轉移 Fortigate 防火牆設定檔

原始設備:FortiGate FG-300C、目標設備:FortiGate FG-60D

防火牆介面「管理模式」分為兩類:

Switch Mode(單一規則管理所有連接埠)
In this mode, all ports are grouped to a single switch, represented as "internal"
Interface Mode(各連接埠規則皆獨立)
In this mode, each port is independent and is represented as port1 through port7.
在較小型號的 FortiGate 上,連接埠命名預設是 WAN/DMZ/Internal,系統預設所有的 Internal Ports 皆套用到同一組 Policy;大一點型號的 Fortigate 則將連接埠直接命名為 Port1~portN。

想把設定值硬套過來,要先改變 Port 的對映方式,例如 (Port1, WAN1)、(Port5, Internal2)