range of mac addresses

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Aug 30 00:32:20 CEST 2013


On 29 Aug 2013, at 23:13, Dan Letkeman <danletkeman at gmail.com> wrote:

> If you wanted to do mac authentication, is there a way to add a range of mac addresses to the users list.  eg:
> 
> #Normal mac username:
> 
> 002710de63a4 Cleartext-Password := "002710de63a4"
> e806882925ce Cleartext-Password := "e806882925ce"
> 
> #Range of mac addresses:
> 
> 94ebcd****** Cleartext-Password := "94ebcd******"

DEFAULT User-Password =~ '^94ebcd[0-9a-f]{6}$', Auth-Type := Accept

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team



More information about the Freeradius-Users mailing list