Re: Block clients for mac address

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

 



On Wednesday 12 February 2003 01:37 pm, Juan Carlos Hernandez Gonzalez 
wrote:
> Hi list:
>
> I have a linux red hat and need configure my iptables for permit only
> mac address of clients .. some know how make this .. Thanks

Try using the mac match.  something like:

/sbin/iptables -A FORWARD -m mac --mac-source 00:02:E3:11:C2:46 -j ACCEPT

This will only work properly if the clients are on a local ethernet to 
you.

j




[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