Technical Guide: How to configure FortiNAC to assign VLANs based on MAC address
| Description | This article describes how to configure FortiNAC to assign VLANs based on MAC address. |
| Scope | FortiNAC 9.4.x. |
| Solution | Table of Contents:
Section 1. Enable RADIUS on the FortiNAC.
The authentication port in FortiNAC is set to 1645 and can be changed if required. Set the same port on the FortiGate side.
FortiGate RADIUS settings:
config user radius edit "FortiNAC" set server [FortiNAC IP] set secret yourSecret set nas-ip [FortiGate IP] set radius-port 1645 set require-message-authenticator disable next end
Section 2. Create SSID on the FortiGate.
Using the 'WPA2 Personal' security mode will require users to enter pre-shared key to connect to the Wi-Fi. Client MAC Address Filtering using the RADIUS server, FortiNAC in this case, will assign VLANs to the user’s device based on user’s MAC address.
Section 3. Allow SSID to connect to the FortiNAC RADIUS server.
 
Section 4. Create a group that belongs to a VLAN.
Section 5: Create a User/Host Profile.
Section 6. Create Network Access Policy:
Use the tabs at the top right corner.
Related articles: |











