RE: ip + mac filtering

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

 



You can filter by mac addresses with the module mac

a sample could be

iptables -A FORWARD -m mac --mac-source ff:ff:ff:ff:ff:ff -j DROP

/cmb

> -----Original Message-----
> From: netfilter-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:netfilter-bounces@xxxxxxxxxxxxxxxxxxx]On Behalf Of
> varun_saa@xxxxxxxx
> Sent: Monday, June 20, 2005 5:05 PM
> To: netfilter@xxxxxxxxxxxxxxxxxxx
> Subject: ip + mac filtering
> 
> 
> Hello, 
>      I want to do IP filtering as well as  
> MAC filtering. 
>  
> If I were to right seperate set of rules for 
> IP and MAC filtering. Will there be any problem ? 
>  
> Thanks in advance 
>  
> Varun 
>  
>  
> 
> 
> 



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux