From: "Lee Evans" <netfilter@leeevans.org>
To: netfilter@lists.netfilter.org
Subject: SNAT & DNAT
Date: Mon, 18 Oct 2004 15:46:08 +0100 [thread overview]
Message-ID: <E1CJaCD-0007HD-00@deer.gmane.org> (raw)
Hi,
Sorry if this has been asked before in some other guise - I looked through
the archives but couldn't spot anything (or a search feature..)
I'm going to be implementing a gateway system using IPTables, which will
need to perform both DNAT & SNAT on incoming connections.
The reason being that I want to provide external access to systems on a LAN
which do not have a default gateway (and nor do I want them to have one).
The connections will come in to the public IP of the gateway and be DNAT'ed
to the internal IP PREROUTING, and then SNAT'ed to the gateway's private IP
POSTROUTING so that the internal systems have a route out for reply traffic.
I've tested this on a small test-network but before I try to roll it out on
a larger scale, are there any issues with doing this that I should be aware
of?
Thanks
Lee
next reply other threads:[~2004-10-18 14:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-18 14:46 Lee Evans [this message]
[not found] <20041018152033.C85228A3C0@bne-mail01.vector.net.au>
2004-10-19 23:54 ` SNAT & DNAT Clayton Russell
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=E1CJaCD-0007HD-00@deer.gmane.org \
--to=netfilter@leeevans.org \
--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.