Check EAP Type in Unlang/Post Auth

Arnab Roy arnabroy at
Wed Apr 26 12:40:11 CEST 2017

   Hi ,

   I am trying to configure an unlang condition in the post auth section
   of the virtual server which effectively needs to be able to do the

   //This is my way of trying to explain the requirements not the real
   unlang syntax :)
   if(eap-type == "PEAP"){



   Which effectively tells the NAS that if a user is using User/pass dump
   them in VLAN A if User using certs dump them in vlan B.

   Is this possible if so can someone tell me what the syntax will look
   like/atrributes to check for.

   Thanks in advance.


More information about the Freeradius-Users mailing list