i d like to oblige everybody using my gateway to use a specific IP ( cause often the little smart guys we have change their IPs and do illegal stuff ) well i used this syntax with iptables
iptables -A INPUT -s ! 192.168.0.2 -m mac --mac-source 00:08:02:EB:6B
7 -j DROP
the 192.168.0.2 was a machine that i used for tests i changed it's ip to 192.168.0.3 BUT !, the probleme is : iptables don't block all packets that's right the client machine wont surf over the net but it can send packet over the gatway such ICMP one , and when using IPs rather than nomral address we can even open URLs with the browser .... sounds like only the DNS stops working , is there any other way to get this working ?
thanx from the advence !