Configuring a FortiWiFi unit as a wireless client
Wireless client configuration is only available on select FortiWiFi models. See FortiWiFi unit as a wireless client for the list of supported models. |
Before setting up the FortiWiFi unit as a wireless client using the steps described below, make sure to remove any AP WiFi configurations such as SSIDs, DHCP servers, policies, and software switch members using the CLI or GUI. |
To configure wireless client mode - GUI
-
Go to WiFi and Switch Controller > Local WiFi Radio and change the Mode to Wireless Client.
Note: You must remove any AP WiFi configurations such as SSIDs, DHCP servers, policies, and software switch members before you can change the mode to Wireless Client. Once you select Wireless Client, the FortiWiFi unit will reboot.
- Click Add Network and select an SSID to set up the WiFi connection.
- Click OK to save the WiFi Network Connection Setting.
-
From the Local WiFi Radio page, verify that the WiFi network is connected.
-
Go to Policy & Object > Firewall Policy and click Create New to create a firewall policy.
-
Enter the following policy information:
Incoming Interface (srcintf)
wifi
Source Address (srcaddr)
all
-
Configure remaining fields as needed, when you are finished, click OK.
To configure wireless client mode - CLI
-
Change the wireless mode to client.
config system global set wireless-mode client end
Note: You must remove any AP WiFi configurations such as SSIDs, DHCP servers, policies, and software switch members before you can change the mode to Wireless Client. Once you select Wireless Client, the FortiWiFi unit will reboot.
-
2. Set up a wifi-network entry under interface "wifi".
config system interface edit "wifi" config wifi-networks edit 1 set wifi-ssid "FOS_61F_psk" set wifi-passphrase * next end next end
-
Create a firewall policy from "internal" to "wifi".
config firewall policy edit 1 set name "lan" set srcintf "internal" set dstintf "wifi" set action accept set srcaddr "all" set dstaddr "all" set schedule "always" set service "ALL" set nat enable next end
-
Connect a wired station to the internal ports of the FortiWiFi to verify that it can pass traffic to the Internet.
Controlled AP selection support in FortiWiFi client mode
Use the following CLI commands to provide a more controlled AP selection method (supported in FortiWiFi client mode).
Syntax
config system interface
edit {name}
set wifi-ap-band {any | 5g-preferred | 5g-only}
next
end