Le jeu 18/09/2003 à 21:04, M. Ziya Ozudogru a écrit : > Thanks for your help but how can i assure that given mac is using the ip > i assign to it? And if it is using its assigned ip it should pass if it > is not it should be blocked If all your rules are this kind : iptables -A FORWARD -m mac --mac-source $MAC -s $IP -j ACCEPT Then an unknown MAC address won't be able to get through and a known one will accepted _only_ if used with correct source IP. Isn't it what you wanted or am I missing something ? -- http://www.netexit.com/~sid/ PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE