Skip to main content
sjerry
Staff
Staff
August 30, 2024

Technical Tip: How to create network access policy via RADIUS Request Attribute

  • August 30, 2024
  • 0 replies
  • 1148 views
Description This article describes how to use attributes from a RADIUS Request to create a condition for a user host profile.
Scope FortiNAC, CentOS, nacOS.
Solution

Enable debugs if needed:

CentOS.

 

nacdebug -name FingerprintServer true

 
> tail -F output.master | grep -i FingerprintServer

NacOS.

 

execute-enter shell

> nacdebug -name FingerprintServer true

 

Examine logs if needed (exit the shell again).

 

diagnose tail -F output.master | grep -i FingerprintServer

 

Example below include MSCHAPv2, PEAP, and EAP TLS. 

MSCHAPv2, PEAP: 

 

mschapv2.png

 

The syntax must exactly be the same as what is received, or it is possible to do a '*' if needed. 

 

EAP-Type-Name = MSCHAPv2*  

UHP_radius.png


Validate: 
Go to users & hosts -> host -> 'right click' -> policy details.

Policy detail.png

 

EAP TLS.


EAP_TLS.png

 

EAP_TLS_Att.PNG

 

Validate: 
Go to users & hosts -> host -> 'right click' -> policy details.

 

eap_TLS_Policy.PNG

 

Radius Attributes can also be used to register the hosts using a device profiling rule, as shown inthe  screenshot below 

  1. Users and Hosts -> Device Profiling rules -> Add -> General.

device profiler general.png

 

  1. Select Methods -> RADIUS -> Fill in RADIUS type and other details as in the example screenshot below:

 

DPR methods.png

 

  1. A user's and host's profiles can be created using the role information the host will receive from step 1.

 

TLS radius host role.png

 

Related documents:

Technical Tip: FortiNAC Computer/Machine authentication by leveraging 'Who/what by RADIUS Request Attribute' 

User/host profiles 

Configure Local RADIUS Server settings

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.