Linux Netfilter discussions
 help / color / mirror / Atom feed
[parent not found: <20051020052237.E5BB0F4DA@sorry.no-ip-here.net>]
[parent not found: <20051020030747.A4016F6F2@sorry.no-ip-here.net>]
* blocking traffic between two internal interfaces ?
@ 2005-10-20  3:07 Seferovic Edvin
  0 siblings, 0 replies; 6+ messages in thread
From: Seferovic Edvin @ 2005-10-20  3:07 UTC (permalink / raw)
  To: netfilter

Hi,

 

I have two internal interfaces ( eth1 // 172.19.0.0 & eth2 // 172.20.0.0 ),
and I would like to block traffic between those two networks. Somehow Ive
failed because any rules that should forbid traffic between those 2 networks
didn't work. I still could access webserver on the eth2 - 172.20.10.1 from a
station with IP address 172.19.1.100 ! Then Ive applied rule in PREROUTING
chain in nat table:



Iptables -t nat -A PREROUTING -s 172.19.0.0/16 -d 172.20.0.0/16 -j DROP

 

Rules in FORWARD and INPUT chain just wouldn't work. Is this the right way
to forbid traffic from one network to the another or am I missing some basic
stuff here? I would appreciate any comments.

 

Thank you in advance !

 

Regards,

 

Edvin Seferovic

 

 

 


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

end of thread, other threads:[~2005-10-20 13:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20051020041130.0D02EF6F2@sorry.no-ip-here.net>
2005-10-20  4:32 ` blocking traffic between two internal interfaces ? /dev/rob0
2005-10-20  5:22   ` Seferovic Edvin
     [not found] <20051020052237.E5BB0F4DA@sorry.no-ip-here.net>
2005-10-20 13:27 ` /dev/rob0
     [not found] <20051020030747.A4016F6F2@sorry.no-ip-here.net>
2005-10-20  3:40 ` /dev/rob0
2005-10-20  4:11   ` Seferovic Edvin
2005-10-20  3:07 Seferovic Edvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox