Courseiva
FortiGate lab 3

Least-privilege policies with address objects, services and policy order

Replace an allow-everything policy with address objects, a service group, a deny policy for one host and an admin-only rule, ordered so the first match is the right one.

About 30 minutes 7 devices 4 tasksIntermediate

Scenario

HQ-FGT has a single policy, LAN-to-Internet, that lets any LAN address use any service. The auditors want least privilege. Staff (10.0.1.0/24) may only browse the web and use DNS. The lobby kiosk (10.0.1.50) must have no Internet access at all. Only the administrator's PC (PC1, 10.0.1.10) may SSH, and only to the management server ADMIN at 198.51.100.22. Build the objects and policies so these rules hold. FortiGate takes the first matching policy from the top.

port1Gi0/0port2Gi0/1Fa0/1eth0Fa0/2eth0Gi0/1eth0Gi0/2eth0HQ-FGTHQ-FGT — Firewall (FortiGate-VM64)ISPISP — Router (2911)INETINET — ServerADMINADMIN — ServerSW1SW1 — Switch (Catalyst 2960-24)PC1PC1 — PCKIOSKKIOSK — PC

Your tasks

  1. An address object LAN-NET (10.0.1.0/24) replaces all as the source of policy LAN-to-Internet.
  2. PC1 can reach 8.8.8.8 on HTTP, HTTPS and DNS, but not SSH.
  3. The kiosk has no Internet access, while PC1 still browses.
  4. PC1 can SSH to ADMIN (198.51.100.22); the kiosk cannot, and PC1 cannot SSH anywhere else.

The lab checks the result, not the exact commands. For example, a ping task passes only when the ping really succeeds through the network you built.

Start the lab