FortiGate lab 11 of 25
LDAP and RADIUS authentication
Connect FortiGate to the company directory over LDAP and to a RADIUS server, map directory groups to firewall groups, give Engineering and Finance different access, let IT admins log in with their directory accounts, and debug authentication from both ends.
Run this lab
It needs Lite: its 4 nodes are set to 4 vCPU and 6,144 MB in total. That fits the free demo too.
In your workspace: Shared, then FortiGate NSE 4 guided labs, then 11 - LDAP and RADIUS authentication
- Level
- Intermediate
- Time
- About 70 minutes
- Nodes need
- 4 vCPU, 6,144 MB
- Smallest plan
- Lite
The scenario
Local accounts don't scale, and Harbourside now has a directory server, SRV1, which answers LDAP like Active Directory and also runs RADIUS for network devices. The rules: Engineering may browse the web, Finance may browse the web too (the finance VPN team also wants RADIUS ready, with a Finance group, for its own use), and members of IT-Admins must be able to log in to the FortiGate with their own directory accounts instead of the shared admin password.
| Device | Interface | Address | Connects to |
|---|---|---|---|
| FGT1 | port2 (LAN) | 10.1.10.1/24 | PC1 10.1.10.10 |
| FGT1 | port3 (SERVERS) | 10.1.30.1/24 | SRV1 10.1.30.10 (directory) |
| FGT1 | port1 (ISP-A) | 203.0.113.1/24 | INET, gateway 203.0.113.254 |
Directory facts (teaching values): base DN DC=corp,DC=lab; users in OU=People, groups in OU=Groups; login name attribute sAMAccountName; group membership in memberOf; bind account CN=fgt-bind,OU=Service,DC=corp,DC=lab / BindPass1!; RADIUS shared secret RadSecret1!; every user's password is Training1!.
What you’ll practise
- Explain LDAP bind types (simple, anonymous, regular), the base DN and the common name identifier
- Configure an LDAP server, test credentials and read group membership
- Configure a RADIUS server and use Fortinet-Group-Name for group matching
- Build firewall groups that match remote groups and use them in policies
- Create remote administrators with a wildcard account
- Debug authentication with diagnose test authserver and fnbamd
The tasks
- Start the lab
- Look at the directory
- An LDAP server with a regular bind
- A RADIUS server
- Map directory groups to firewall groups and use them
- Directory administrators
- Debug authentication
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 PC1eth0 - FGT1
port3to SRV1eth0
| 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 |
| SRV1 | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 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
11 - LDAP and RADIUS 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.