[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Filtering with iptables based on DHCP leases



Hi,

I'm running a small ethernet network in the 192.168.1.x range, with
firewall and router in one Debian box on 192.168.1.1. eth0 is LAN,
eth1/ppp0 goes to the ISP.

The LAN machines get their configuration from a DHCP server that also
runs on the router box. What I'd like to do now is to block all router
access to machines that did not get their IP from the DHCP (i.e. those
with static IPs). Is there any hook in dhcpd that lets me trigger
iptables commands?

Thanks
Carl-Eric
-- 
Antwort: Weil es das Lesen des Textes erschwert.   | Carl-Eric Menzel
Frage  : Warum ist das so schlimm?                 | PGP ID: 808F4A8E
Antwort: Antworten oben zu schreiben.              | Bitte keine HTML-
Frage  : Was ist die schlimmste Unsitte in Emails? | Mails schicken.



Reply to: