I use DNSmasq to manage my local DHCP/DNS server, but unfortunatly there is no plugin’s or wrapper for FreeRadius. I have coded a quick and dirty Python program to do this:
- Generate an authorize file
- Generate and authorized_macs file (no more require with my settings)
My next step is use the “tag” with the “set:” section from dnsmasq for mark the vlan ID (for exemple set:vlan10).this code is also available on GitHub.
After launching the script, copy the authorize_conf file in the files folder in the freeradius 3.0 directory.
i use the $INCLUDE value in the default.conf for include it.