From: "Daniel F. Chief Security Engineer -" <danielf@supportteam.net>
To: netfilter <netfilter@lists.netfilter.org>
Subject: NAT and anti spoofing
Date: Wed, 18 Sep 2002 16:29:56 -0500 [thread overview]
Message-ID: <200209181629.56408.danielf@supportteam.net> (raw)
This may be a stupid question but the answer is eluding me right now.
With NAT setup.
I have a single machine with 8 global IPs NATed to 8 10.0.0.0/8 IPs. How do
you filter the 10.0.0.0/8 network from talking to the machines behind the
firewall. From outside the firewall on the internet.
I used command like this to get the NAT working is this right.
iptables -t nat -A POSTROUTING -s 10.10.10.128 -j SNAT --to 1.2.3.4
iptables -t nat -A PREROUTING -d 1.2.3.4 -j DNAT --to 10.10.10.128
This worked to make 1.2.3.4 send to a machine behind the firewall that had
10.10.10.128 for it's IP.
Thanks
--
Daniel Fairchild
C I Host | danielf@cihost.com
next reply other threads:[~2002-09-18 21:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-18 21:29 Daniel F. Chief Security Engineer - [this message]
2002-09-19 12:33 ` NAT and anti spoofing Antony Stone
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=200209181629.56408.danielf@supportteam.net \
--to=danielf@supportteam.net \
--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