From: /dev/rob0 Subject: Re: MAC filtering Date: Wed, 29 Jun 2005 15:30:23 -0500 Message-ID: <200506291530.23914.rob0@gmx.co.uk> References: <3f96f433f945f0.3f945f03f96f43@vsnl.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3f96f433f945f0.3f945f03f96f43@vsnl.net> Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org On Wednesday 29 June 2005 06:56, varun_saa@vsnl.net wrote: > To allow a particular MAC, I plan use the rule > as sugested in my previous post : > > iptables -A FORWARD -m mac --mac-source ff:ff:ff:ff:ff:ff -j ACCEPT. > > Now how do you block all other MAC addresses in the first place. > How to write a rule for that ? iptables -A FORWARD -j DROP -- mail to this address is discarded unless "/dev/rob0" or "not-spam" is in Subject: header