Re: Filtering with MAC Address

Linux Advanced Routing and Traffic Control

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

 



On Thursday 01 August 2002 21:07, Adam B. Fineberg wrote:
> Marcio Fraisleben Dias wrote:
> >Can someone help me to do 'tc filter' by MAC Address? I use HTB in my
> > setup and it works wonderfully for IP, but I need to shape NAT
> > connections, and I can't do it using IP addresses. Any suggestions
> > welcome!
>
> I was never able to figure it out either so if someone can help with
> this I'd appreciate it.
You can filtering on source mac address with iptables : -m mac --mac-source 
xx:xx:xx:xx:xx:xx.  That you wat you can mark the packets with -j MARK 
--set-mark 123 and use the fw filter.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux