FortiGate lab 5 of 25

Firewall policies and objects

Replace an empty rule base with least-privilege policies built from address, FQDN, service and schedule objects, then fix a shadowed rule by moving it and prove which policy matches with the session table and the policy lookup.

Run this lab

It needs Lite: its 5 nodes are set to 5 vCPU and 6,656 MB in total. That fits the free demo too.

In your workspace: Shared, then FortiGate NSE 4 guided labs, then 05 - Firewall policies and objects

Try it free for 30 minutesRun it on Lite from £3 a day

The free demo needs no card and no email. Every lab plan includes every guided lab.

Level
Intermediate
Time
About 70 minutes
Nodes need
5 vCPU, 6,656 MB
Smallest plan
Lite

The scenario

After an audit, Harbourside's old "any to any" rule was deleted, and right now FGT1 has no policies at all: nothing passes. You are to rebuild the rule base on least privilege. Staff may use DNS and two approved web sites, and reach the intranet server SRV1 on web ports. The admin workstation PC1 may reach SRV1 on anything. Everything else to the internet is denied and logged.

DeviceInterfaceAddressRole
FGT1port1 (ISP-A)203.0.113.1/24WAN, gateway 203.0.113.254
FGT1port2 (LAN)10.1.10.1/24PC1 10.1.10.10 (admin), H1 by DHCP
FGT1port3 (SERVERS)10.1.30.1/24SRV1 10.1.30.10 (intranet web)
INET—198.51.100.0/24public DNS .53, www.example.com .10, news.example.net .11, files.example.com .13

What you’ll practise

  • Build subnet, host and FQDN address objects and groups
  • Use predefined and custom services, service groups and schedules
  • Write least-privilege policies, including DNS, and an explicit deny that logs
  • Explain top-down first-match ordering, find a shadowed policy and move it
  • Prove which policy matched with hit counts, the session table and the policy lookup

The tasks

  1. Start the lab
  2. Address objects and groups
  3. Services and schedules
  4. Least-privilege policies
  5. A shadowed policy
  6. Prove which policy matched

The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.

Topology and devices

The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.

Topology of Firewall policies and objects5 nodes and 1 network, 5 links. Every link is listed as text below the diagram.FGT1INETPC1H1SRV1LANeth0eth0port2port1eth0port3eth0
5 nodes and 1 network, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in Firewall policies and objects, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
FGT1Fortinet FortiGatefortinet-FGT-v7.0.17.M-build06821 vCPU, 2,048 MB
INETEVE-NG GUI server (Docker)eve-gui-server:latest1 vCPU, 1,024 MB
PC1EVE-NG GUI server (Docker)eve-gui-server:latest1 vCPU, 2,048 MB
H1Alpine Linuxclbalpinebase-alpine-base-3-20-31 vCPU, 512 MB
SRV1EVE-NG GUI server (Docker)eve-gui-server:latest1 vCPU, 1,024 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder FortiGate NSE 4 guided labs.

  3. Open 05 - Firewall policies and objects and start its nodes, then open Lab Tasks for the scenario and the steps.

The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.

More FortiGate labs

All FortiGate labs

Related labs in other courses

CloudLabBox is independent of Fortinet. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.