Ignore mac if NAS-Port-Type is Ethernet

Alan DeKok aland at deployingradius.com
Thu Jan 5 19:16:33 CET 2017


On Jan 5, 2017, at 1:00 PM, HugLeo <hugocanalli at gmail.com> wrote:
> My BRAS server send two types of radius requisition with NAS-Port-Type.
> 
> For dhcp it's send "Ethernet" and for pppoe it's send "Virtual"
> 
> I would like to know if is possiblie that if NAS-Port-Type = Virtual
> freeradius ignore validating the user by mac.

  Sure.  Write a policy to do that:

	if (NAS-Port-Type == Virtual) {
		... do one thing ...
	}
	else {
		... do mac authentication ...
	}

  Alan DeKok.




More information about the Freeradius-Users mailing list