Before you start
- FortiOS 7.0 or later, super_admin profile
- Dedicated interface, VLAN or SSID for guest traffic
- FortiGate reachability to HotSpot on UDP 1812/1813 and TCP 443
1. Add the RADIUS server
-
User & Authentication›RADIUS Servers›Create New
- Name: HotSpot
- Primary Server IP/Name: <HotSpot RADIUS IP>
- Primary Server Secret: <Shared secret>
- Authentication method: Default
-
Test Connectivity
Do not continue until you see “Successful”.
-
CLI Console
- config user radius
- edit HotSpot
- set acct-interim-interval 600
- config accounting-server
- edit 1
- set status enable / set server <HotSpot RADIUS IP> / set secret <Shared secret>
- end
Accounting is not exposed in the GUI; enable it via CLI.
2. Create the guest user group
-
User & Authentication›User Groups›Create New
- Name: HotSpot-Guests
- Type: Firewall
- Remote Groups > Add > Remote Server: HotSpot
- Groups: Any
3. Define walled garden addresses
-
Policy & Objects›Addresses›Create New›Address
- Type: FQDN
- FQDN: each allowed domain listed in the HotSpot panel
- Name: MS-WG-1, MS-WG-2 …
-
Policy & Objects›Addresses›Create New›Address Group
- Name: HotSpot-WalledGarden
- Members: all MS-WG addresses
4. Enable captive portal on the guest interface
-
Network›Interfaces›(guest interface)›Edit
- Admission Control > Security mode: Captive Portal
- Authentication portal: External
- URL: <HotSpot portal URL>
- User access: Restricted to Groups > HotSpot-Guests
- Exempt destinations/services: HotSpot-WalledGarden
- Redirect after Captive Portal: Original Request
-
WiFi & Switch Controller›SSIDs›(guest SSID)›Edit
If the guest network runs on FortiAP, apply the same settings on the SSID under Security Mode: Captive Portal.
5. Write the security policy
-
Policy & Objects›Firewall Policy›Create New
- Incoming Interface: guest interface
- Outgoing Interface: WAN
- Source: all + HotSpot-Guests
- Destination: all
- Service: ALL
- NAT: Enable
- Log Allowed Traffic: All Sessions
6. Send logs to LogIQ
-
Log & Report›Log Settings
- Remote Logging and Archiving > Send logs to syslog: Enable
- IP Address/FQDN: <LogIQ collector IP>
- Event Logging: All
- Local Traffic Log: All
Verification
- Join the SSID with a guest device; the HotSpot welcome page should open.
- The session should appear under Dashboard > Users & Devices > Firewall Users.
- Records should appear in HotSpot Live Sessions and LogIQ > Live Stream.
Menu names may differ slightly between firmware versions. If you get stuck, our installation team supports you remotely.