From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] IPtables question
Date: Fri, 2 Feb 2007 10:54:52 +0100 [thread overview]
Message-ID: <20070202105452.73819bf8.hilse@web.de> (raw)
In-Reply-To: <200702020945.53267.Gentoo@kraszewscy.net>
Hi,
On Fri, 2 Feb 2007 09:45:53 +0100 Pawel Kraszewski
<Gentoo@kraszewscy.net> wrote:
> Dnia środa, 31 stycznia 2007, James Colby napisał:
>
> > I have a small home server that I have connected to the internet
> > through a linksys router and cable modem. The linksys router is
> > currently forwarding all ssh traffic to my gentoo box. What I would
> ^^^^^^^^^
>
> Take note, that forwarded traffic (it is DNAT-ed in Linksys) would
> appear on your host as originating from your router. Original source
> address is stripped by router's NAT.
Nope, just the target Adress is rewritten (by routing). DNAT is
Destination NAT! I.e. the target IP of the packet is rewritten. Since
the Linksys is the default gateway, packets can keep their source IP
address. Of course, the source MAC address will be rewritten to the
router's -- but that's got nothing to do with NAT but routing instead.
-hwh
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-02-02 9:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-31 20:36 [gentoo-user] IPtables question James Colby
2007-01-31 20:56 ` Albert Hopkins
2007-01-31 23:25 ` Mick
2007-02-01 3:58 ` Norberto Bensa
2007-02-02 8:45 ` Pawel Kraszewski
2007-02-02 9:54 ` Hans-Werner Hilse [this message]
2007-02-02 11:01 ` Pawel Kraszewski
-- strict thread matches above, loose matches on Subject: below --
2011-12-16 15:17 [gentoo-user] iptables question Tanstaafl
2011-12-17 16:34 ` Hari Purnama
2011-12-17 17:25 ` Tanstaafl
2006-03-28 13:38 Hiren Dave
2006-03-28 14:06 ` Boyd Stephen Smith Jr.
2006-03-28 14:35 ` Uwe Thiem
2006-03-29 2:24 ` JimD
2006-01-20 19:49 Dmitry S. Makovey
2006-01-20 20:49 ` Trenton Adams
2006-01-20 22:21 ` Dmitry S. Makovey
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=20070202105452.73819bf8.hilse@web.de \
--to=hilse@web.de \
--cc=gentoo-user@lists.gentoo.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