RE: traffic from particular interface..

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

 



 And perhaps an:

iptables -A FORWARD -i eth2 -o eth0 -j ACCEPT

-----Original Message-----
From: netfilter-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:netfilter-bounces@xxxxxxxxxxxxxxxxxxx] 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@xxxxxxxxx>
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




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux