From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamed Eldesoky Subject: Re: traffic from particular interface.. Date: Mon, 14 Mar 2005 16:58:23 +0200 Message-ID: <1403218a05031406586eef1296@mail.gmail.com> References: <1403218a0503140417712785fa@mail.gmail.com> <200503141422.j2EEMeNW016542@smtp26.wxs.nl> Reply-To: Mohamed Eldesoky Mime-Version: 1.0 Content-Transfer-Encoding: 7bit In-Reply-To: <200503141422.j2EEMeNW016542@smtp26.wxs.nl> 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: Sietse van Zanen , netfilter My message wasn't a final solution. I have just given him an example. On Mon, 14 Mar 2005 15:22:34 +0100, Sietse van Zanen wrote: > And perhaps an: > > iptables -A FORWARD -i eth2 -o eth0 -j ACCEPT > > -----Original Message----- > From: netfilter-bounces@lists.netfilter.org > [mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of Mohamed Eldesoky > Sent: 14 March 2005 13:17 > To: Manish; netfilter > Subject: Re: traffic from particular interface.. > > iptables -A FORWARD -i eth1 -o eth0 -j DROP > > On Mon, 14 Mar 2005 04:03:45 -0800 (PST), Manish > wrote: > > Hi, > > > > I had 3 network interface on my linux box eth0, eth1 and eth2. I want > traffice from eth1 only pass from eth2 and eth0 should deny any traffic > from eth1 but allow from eth2. what firewall rule should i give to do the > above job. > > > > Thanks in advance > > > > Manish. > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > -- > Mohamed Eldesoky > www.eldesoky.net > RHCE > > -- Mohamed Eldesoky www.eldesoky.net RHCE