Resources

Staff WiFi - Fortinet FortiGate

Published

Last updated

These steps are for FortiAP access points managed by a FortiGate WiFi controller running FortiOS 7.4 or later (FortiOS 7.4 added RADSEC). Some settings are only available in the CLI: open the CLI console from the top right of the FortiGate GUI when a step shows commands.

CA certificate

Download this file. Click System > Certificates on the left menu, then click Create/Import > CA Certificate and configure:

Type:

File

Upload:

The file you downloaded

Click OK. Note the name FortiOS gives the certificate in the list (for example CA_Cert_1): you need it below.

Client certificate

Download this file (the certificate) and this file (its key). Click Create/Import > Certificate, then Import Certificate, and configure:

Type:

Certificate

Certificate:

Upload the certificate file

Key file:

Upload the key file

Password:

Leave blank (the key is not encrypted)

Certificate name:

purple-radsec-client

Click Create, then OK.

RADIUS server

Click User & Authentication > RADIUS Servers on the left menu, click Create New and configure:

Name:

Purple RADIUS

Authentication method:

Default

NAS IP:

Leave blank

Include in every user group:

Disabled

Primary Server > IP/Name:

**radius_server_1**

Primary Server > Secret:

**radius_secret**

Secondary Server > IP/Name:

**radius_server_2**

Secondary Server > Secret:

**radius_secret**

Click OK. The remaining settings are only in the CLI. Open the CLI console and run the following, replacing CA_Cert_1 with the name of the CA certificate you imported:

config user radius
    edit "Purple RADIUS"
        set radius-port **radius_auth_port**
        set transport-protocol tls
        set ca-cert "CA_Cert_1"
        set client-cert "purple-radsec-client"
        set server-identity-check enable
        set nas-id-type custom
        set nas-id "**nasid**"
        set radius-coa disable
    next
end

With TLS, authentication and accounting both use port **radius_auth_port**, so no separate accounting server is needed.

SSID

Click WiFi & Switch Controller > SSIDs on the left menu, then click Create New > SSID and configure:

Name:

purple-staff

Type:

WiFi SSID

Traffic Mode:

Tunnel

Address > IP/Network Mask:

An unused subnet for staff devices, for example 10.20.0.1/255.255.255.0

DHCP Server:

Enabled

SSID:

Staff WiFi (or whatever we've agreed)

Broadcast SSID:

Enabled

Security Mode:

WPA2 Enterprise

Authentication:

RADIUS Server: Purple RADIUS

Listen for RADIUS Accounting Messages:

Disabled

Click OK.

Access points

Click WiFi & Switch Controller > FortiAP Profiles and edit the profile your FortiAPs use. Under Radio 1 and Radio 2 (and any other radio you use), set SSIDs to Manual and add purple-staff. Click OK.

Firewall policy

Click Policy & Objects > Firewall Policy, click Create New and configure:

Name:

Staff WiFi to Internet

Incoming Interface:

purple-staff

Outgoing Interface:

Your internet interface (for example wan1)

Source:

all

Destination:

all

Schedule:

always

Service:

ALL

Action:

ACCEPT

NAT:

Enabled

Click OK to save.

Configuration Complete

The configuration is now complete.

Still stuck?

Raise a request and a person from the Purple support team will pick it up, or you can browse the rest of the help centre.

Or email support@purple.ai.