FortiGate lab 10 of 25
Local users and captive-portal authentication
Turn anonymous internet access into identity-based access: local users and groups, DNS allowed before login, a captive portal that appears for web traffic, different rights for staff and guests, and the commands to see and clear who is logged in.
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 10 - Local users and captive-portal authentication
- Level
- Intermediate
- Time
- About 55 minutes
- Nodes need
- 4 vCPU, 5,632 MB
- Smallest plan
- Lite
The scenario
Harbourside's open office also hosts visitors, and the internet policy currently lets anyone on the LAN out. From today, people must sign in: staff (jsmith and mlopez) get the web, and the visitor account tguest gets only the company's own site, www.example.com. There is no directory server yet, so the accounts live on the FortiGate.
| Device | Interface | Address | Connects to |
|---|---|---|---|
| FGT1 | port1 (ISP-A) | 203.0.113.1/24 | INET, gateway 203.0.113.254 |
| FGT1 | port2 (LAN) | 10.1.10.1/24 | PC1 10.1.10.10 (Firefox), H1 by DHCP |
Accounts to create (teaching password for all: Training1!): jsmith and mlopez in group Staff, tguest in group Guests.
What you’ll practise
- Create local users and firewall user groups
- Explain which protocols trigger active authentication and why DNS must be allowed first
- Write identity-based policies that give staff and guests different access
- Log in through the captive portal from a browser and from the command line
- Monitor authenticated users, set timeouts and log users out
The tasks
- Start the lab
- Local users and groups
- Allow DNS before anyone logs in
- Identity-based policies for staff and guests
- Log in from the command line and test the guest
- See, time out and clear users
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
10 - Local users and captive-portal authenticationand 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.