Request a quote WhatsApp

Fortinet

FortiGate · FortiOS 7.x

Connect FortiGate to HotSpot with an external captive portal and RADIUS, and send session and traffic logs to LogIQ.

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

  1. User & AuthenticationRADIUS ServersCreate New

    • Name: HotSpot
    • Primary Server IP/Name: <HotSpot RADIUS IP>
    • Primary Server Secret: <Shared secret>
    • Authentication method: Default
  2. Test Connectivity

    Do not continue until you see “Successful”.

  3. 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

  1. User & AuthenticationUser GroupsCreate New

    • Name: HotSpot-Guests
    • Type: Firewall
    • Remote Groups > Add > Remote Server: HotSpot
    • Groups: Any

3. Define walled garden addresses

  1. Policy & ObjectsAddressesCreate NewAddress

    • Type: FQDN
    • FQDN: each allowed domain listed in the HotSpot panel
    • Name: MS-WG-1, MS-WG-2 …
  2. Policy & ObjectsAddressesCreate NewAddress Group

    • Name: HotSpot-WalledGarden
    • Members: all MS-WG addresses

4. Enable captive portal on the guest interface

  1. NetworkInterfaces(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
  2. WiFi & Switch ControllerSSIDs(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

  1. Policy & ObjectsFirewall PolicyCreate 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

  1. Log & ReportLog 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.

Let’s simplify your guest Wi-Fi journey

Keep your existing infrastructure and bring access, engagement and 5651 records into one panel.

Request installation support

We use cookies for visit statistics. Cookie policy