DHCP tweaks

vk7hch
Posts: 5
Joined: Sun Jul 18, 2010 8:18 am

DHCP tweaks

Postby vk7hch » Sun Jul 25, 2010 3:05 am

I was wondering if it would be possible to introduce a way to lockout a computer by mac address. A bit like access control on a wifi router. On the DHCP page, maybe a radio check button to "Enable / Disable".
I have children that every now and then, for various reasons, I wish to block from accessing the network!
HDA: ML110G3 p4 3.0GHz - 2Gb Ram - 1 x 300Gb HDD, 2 x 1.5Tb HDD
Loving it :-)

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: DHCP tweaks

Postby gboudreau » Sun Jul 25, 2010 5:43 am

I guess you could block them from using the HDA DNS server, by manually configuring BIND's /etc/named.conf
But Amahi kinda takes control of that file, so it might overwrite your manual changes every so often.
Maybe a cron that replaces it every minute might work...

Code: Select all

acl kids_who_havent_been_nice { 192.168.0.102; 192.168.0.101; }; options { ... blackhole { kids_who_havent_been_nice }; };
- Guillaume Boudreau

Who is online

Users browsing this forum: No registered users and 74 guests