All of lore.kernel.org
 help / color / mirror / Atom feed
* traffic from particular interface..
@ 2005-03-14 12:03 Manish
  2005-03-14 12:17 ` Mohamed Eldesoky
  0 siblings, 1 reply; 4+ messages in thread
From: Manish @ 2005-03-14 12:03 UTC (permalink / raw)
  To: netfilter

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 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: traffic from particular interface..
  2005-03-14 12:03 traffic from particular interface Manish
@ 2005-03-14 12:17 ` Mohamed Eldesoky
  2005-03-14 14:22   ` Sietse van Zanen
  0 siblings, 1 reply; 4+ messages in thread
From: Mohamed Eldesoky @ 2005-03-14 12:17 UTC (permalink / raw)
  To: Manish, netfilter

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: traffic from particular interface..
  2005-03-14 12:17 ` Mohamed Eldesoky
@ 2005-03-14 14:22   ` Sietse van Zanen
  2005-03-14 14:58     ` Mohamed Eldesoky
  0 siblings, 1 reply; 4+ messages in thread
From: Sietse van Zanen @ 2005-03-14 14:22 UTC (permalink / raw)
  To: 'netfilter'

 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 <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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: traffic from particular interface..
  2005-03-14 14:22   ` Sietse van Zanen
@ 2005-03-14 14:58     ` Mohamed Eldesoky
  0 siblings, 0 replies; 4+ messages in thread
From: Mohamed Eldesoky @ 2005-03-14 14:58 UTC (permalink / raw)
  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 <sietse@wizdom.nu> 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 <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
> 
> 


-- 
Mohamed Eldesoky
www.eldesoky.net
RHCE


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-14 14:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-14 12:03 traffic from particular interface Manish
2005-03-14 12:17 ` Mohamed Eldesoky
2005-03-14 14:22   ` Sietse van Zanen
2005-03-14 14:58     ` Mohamed Eldesoky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.