Skip to content
A new version of FortiLogger is out.See what’s new

FortiGate - FortiAP Hotspot Configuration

FortiGate settings for a FortiAP hotspot: address objects, allowed addresses, guest group, SSID, secure mode, access and internet policies and idle timeout.

To use the FortiLogger Hotspot module, settings must be made in the FortiGate interface. This document describes the configuration of FortiGate devices integrated with FortiAP.

Adding Addresses

We need to add an address to use it in the rules we will create in the next steps. Follow the steps below to add addresses:

  • From the Fortigate Interface, click the Policy & Objects > Address menu.
  • When adding address information, the Type field must be IP\Netmask.
  • Identify the IP address of the computer where FortiLogger is installed. (Example: 172.16.40.88/32)
  • Define the IP/Subnet address of your Hotspot Network. (Example: 10.10.20.0/24)

Policy & Objects > Address list with IP/Netmask address objects for the hotspot network and the FortiLogger server

Addresses to Allow

In order for Hotspot TC Authentication and SMS service to work correctly, the computer with FortiLogger installed must have access to the following addresses.

  • tckimlik.nvi.gov.tr
  • The site address of your sms service provider from which you have purchased the service (If sms verification will not be used, you can skip this step.)
    Ex: www.vatansms.com

Guest Group Identification

In order for hotspot users to be included in a group, the group definition must be made as in the picture.

User Groups screen with Type set to Guest and User ID and Password set to Specify for the hotspot guest group

Defining SSID for FortiAP

For the FortiAP defined in your system, you need to define the SSID as in the picture.

WiFi SSID edit screen with the IP/Netmask and DHCP Server settings configured for the hotspot SSID

Turning on Safe Mode

Turn on Security Mode for the SSID and define the necessary settings as in the picture.

SSID Security Mode Settings with Captive Portal, an External authentication portal, user group and FortiLogger exemption

FortiLogger System Access Rule

In order for the FortiLogger Hotspot module to work, users connecting from the Hotspot subnet must access the FortiLogger web interface. For this, it is necessary to create an access rule as follows.

Note: You can optionally define only TCP/5000 port in services to allow access to FortiLogger web interface.

Firewall Policy rule accepting traffic from the hotspot SSID to the FortiLogger server with NAT disabled

Permission to Access Internet from Hotspot Subnet

For users connecting from the hotspot subnet to access the internet, the rule is written as follows.

Firewall Policy rule allowing the hotspot SSID to reach the internet through wan1 with NAT enabled

Determining Inactive Time

Your session, which has been open since you started internet access over the hotspot, is controlled from the Authentication Timeout section on Fortigate. The Authentication Timeout is 5 minutes by default. You can increase your inactivity time by following the steps User&Authentication > Authentication Settings > Authentication Timeout.

User & Authentication > Authentication Settings page with the Authentication timeout increased in minutes

Was this page helpful?