From: Bill Dossett <bd@emtex.com>
To: netfilter@lists.netfilter.org
Subject: question about NAT
Date: Wed, 18 Dec 2002 14:51:36 +0000 [thread overview]
Message-ID: <3E008B78.2000900@emtex.com> (raw)
Hi,
I'm trying to get a firewall working with iptables.
My internal network uses real IP numbers, not private
address ranges. I need to do this as I need to allow
another network access to multiple machines, all ports,
on my network at times.
I am using Firestarter.. or at least started off with
it and I am modifying the rules and using firestarter
for a monitor.
My problem is... and I was somewhat surprised by it...
Enabling NAT with firestarter works ok, but, because
I am using real IP numbers and have a smart router,
machines on the Internet side of my firewall could still
ping, etc, machines on internal side of the firewall as they
have real IP addresses... which sort of makes sense as
ip_forward is enabled... though I thought I would need
a static route to actually forward things... not sure
I'm using Redhat 8.0 .. .my older system uses Redhat
6.2 and it doesn't do this.
So.. after poking around and trying to stop this, I finally
seem to have found the place to stop this happening,
in the PREROUTING chain, I have done a
iptables -t nat -I PREROUTING -d 193.243.232.0/26 -j LOG
iptables -t nat -I PREROUTING -d 193.243.232.0/26 -j DROP
the first bit works... but the second bit doesn't... machines
on the Internet side of the firewall can't see internal network
machines, however, if you do try and ping one of them, nothing
goes in the logs. I've read the NAT howto and a few other docs,
but I can't see any reason why this would be, I would like to
monitor this for scans and stuff. Can anyone enlighten, or
point me to docs that would? And as usual, if I am doing this
complete wrong, I'm certainly open to any comments on how it
should be done.
Thanks
Bill
next reply other threads:[~2002-12-18 14:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-18 14:51 Bill Dossett [this message]
2002-12-22 12:40 ` question about NAT Bart
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=3E008B78.2000900@emtex.com \
--to=bd@emtex.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 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.