FortiGate lab 15 of 25
Web filtering and DNS filtering
Build Harbourside's acceptable-use rules with static URL filters (simple, wildcard and regular expression, with allow, block, monitor and exempt), see how entry order and inspection mode change the result, add a DNS filter, and read what FortiGuard categories would add on a licensed unit.
Run this lab
It needs Lite: its 4 nodes are set to 4 vCPU and 5,632 MB in total. That fits the free demo too.
In your workspace: Shared, then FortiGate NSE 4 guided labs, then 15 - Web filtering and DNS filtering
- Level
- Intermediate
- Time
- About 60 minutes
- Nodes need
- 4 vCPU, 5,632 MB
- Smallest plan
- Lite
The scenario
Harbourside's new acceptable-use policy says: no gaming sites; nothing under the example.net domain except the news site the marketing team relies on; no downloads from the company's own download area on www.example.com (they must go through the file portal); and log, but allow, visits to the shop. You implement it on FGT1 and prove each rule.
| Device | Interface | Address | Connects to |
|---|---|---|---|
| FGT1 | port1 (ISP-A) | 203.0.113.1/24 | INET (test sites, DNS 198.51.100.53) |
| FGT1 | port2 (LAN) | 10.1.10.1/24 | PC1 10.1.10.10, H1 by DHCP |
Evaluation licence. FortiGuard category ratings need a FortiGuard web filtering licence and a connection to FortiGuard, which these VMs don't have. This lab uses static URL filters and a static DNS domain filter, which work locally; Task 5 explains categories without pretending they work here.
What you’ll practise
- Choose flow or proxy inspection for web filtering and explain the differences
- Write static URL filters with simple, wildcard and regex entries and the four actions
- Predict which URL filter entry matches first
- Block domains at DNS resolution with a DNS filter profile
- Explain FortiGuard category filtering, rating errors and local ratings
- Read web filter and DNS filter logs and troubleshoot web filtering
The tasks
- Start the lab
- Inspection modes for web filtering
- A static URL filter
- Order matters
- Block at DNS with a DNS filter
- FortiGuard categories and rating errors (concept)
- Logs and troubleshooting
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.
Every link, as text
- FGT1
port1to INETeth0 - FGT1
port2to LAN (network) - PC1
eth0to LAN (network) - H1
eth0to LAN (network)
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| FGT1 | Fortinet FortiGate | fortinet-FGT-v7.0.17.M-build0682 | 1 vCPU, 2,048 MB |
| INET | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
| PC1 | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 2,048 MB |
| H1 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
FortiGate NSE 4 guided labs.Open
15 - Web filtering and DNS filteringand 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
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.