Technical Tip: Configuring basic Friend-or-Foe access control in FortiNAC-F
Description | This article describes how to place unregistered endpoints in a Registration VLAN and allow registered endpoints onto the production network. It covers the selector-based configuration in 7.6.7 and the legacy configuration in 7.4.4. | |||||||||||||||
Scope | FortiNAC-F 7.6.7 and 7.4.4. | |||||||||||||||
Solution | This example uses wired RADIUS MAC authentication with the following VLANs:
For upgraded systems, confirm that the test device has Device Legacy Mode set to OFF. Do not disable Global Legacy Mode just for testing; that change is irreversible. See: FortiNAC-F 7.6.7 - Device Migration Guide - Support for RADIUS-only Devices
Go to Network -> Configuration -> Logical Networks -> Logical VLAN Mapping Configuration. Create or edit the mapping used by the test switch:
![]()
Under Network -> Configuration -> RADIUS -> Configuration, select or create the RADIUS configuration and assign the intended Virtual Server. Open the Response Attributes tab and configure: ![]()
VLANs 11 and 77 are defined in the Logical VLAN Mapping Configuration, not in this Response Attribute configuration.
Go to Network -> Configuration -> Configuration Selectors. Configure the following selectors: ![]() ![]() ![]() Although the target names are identical, each selector references its corresponding configuration type. Save the selectors. If broader rules also match the switch, place these specific rules above them. Rank 1 has the highest priority.
Use a port group containing the test access ports. The example below uses FoF-Test-Ports; replace it with the actual group name. Go to Network -> Configuration -> State Based Access Control Rules. Edit Forced Registration, enable Status, and configure: ![]() Review existing conditions and preserve those required by other networks. The three configuration selectors select the settings used by the switch. The Forced Registration rule determines whether registration isolation applies at the endpoint’s connection point.
In Network -> Inventory, right-click the switch and select Network Access/VLANs -> Edit Default. Set port1 -> Default VLAN = 77, then apply the change. Also confirm that VLAN Switching is enabled under the Element tab. In this test, port1 initially showed VLAN 11. After changing it to 77, Port Changes recorded Reason: Default, VLAN: 77. ![]() See: FortiNAC-F 7.6.0 - Network access/VLANs - Adminitration Guide
In 7.4.4, configure the VLAN values under the switch’s Model Configuration, rather than using the 7.6.7 Logical VLAN Mapping Selector:
![]()
Connect an unregistered test endpoint to port1. Confirm that:
Complete Portal registration. Without unplugging the network cable, confirm that:
|








