Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Mohamed Eldesoky <eldesoky.lists@gmail.com>
To: Manish <manishsoft@yahoo.com>, netfilter <netfilter@lists.netfilter.org>
Subject: Re: traffic from particular interface..
Date: Mon, 14 Mar 2005 14:17:02 +0200	[thread overview]
Message-ID: <1403218a0503140417712785fa@mail.gmail.com> (raw)
In-Reply-To: <20050314120345.60139.qmail@web51909.mail.yahoo.com>

iptables -A FORWARD -i eth1 -o eth0 -j DROP


On Mon, 14 Mar 2005 04:03:45 -0800 (PST), Manish <manishsoft@yahoo.com> 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


  reply	other threads:[~2005-03-14 12:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-14 12:03 traffic from particular interface Manish
2005-03-14 12:17 ` Mohamed Eldesoky [this message]
2005-03-14 14:22   ` Sietse van Zanen
2005-03-14 14:58     ` Mohamed Eldesoky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1403218a0503140417712785fa@mail.gmail.com \
    --to=eldesoky.lists@gmail.com \
    --cc=manishsoft@yahoo.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox