From: "Seferovic Edvin" <edvin.seferovic@kolp.at>
To: netfilter@lists.netfilter.org
Subject: blocking traffic between two internal interfaces ?
Date: Thu, 20 Oct 2005 05:07:17 +0200 [thread overview]
Message-ID: <14162.9181722694$1129777685@news.gmane.org> (raw)
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
next reply other threads:[~2005-10-20 3:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-20 3:07 Seferovic Edvin [this message]
[not found] <20051020030747.A4016F6F2@sorry.no-ip-here.net>
2005-10-20 3:40 ` blocking traffic between two internal interfaces ? /dev/rob0
2005-10-20 4:11 ` Seferovic Edvin
[not found] <20051020041130.0D02EF6F2@sorry.no-ip-here.net>
2005-10-20 4:32 ` /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
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='14162.9181722694$1129777685@news.gmane.org' \
--to=edvin.seferovic@kolp.at \
--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