From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@vger.kernel.org
Subject: Re: Stateful port redirection?
Date: Thu, 04 Mar 2010 00:32:11 +0100 [thread overview]
Message-ID: <4B8EF17B.3090808@plouf.fr.eu.org> (raw)
In-Reply-To: <653bea161003031448i233ecaap18afa475241b0704@mail.gmail.com>
Hello,
Faré a écrit :
>
> Is it possible using netfilter to
> a- redirect TCP traffic from port 10000 (visible to the public) to
> port 10010 (invisible to the public)
What do you mean by invisible ?
> b- change the rule so that that traffic to port 10000 is now
> redirected to port 10020 (also invisible to the public) *except* for
> packets associated with existing connections, that will remain
> redirected to port 10010.
Yes. This is the way stateful NAT works. Changes in NAT rules apply only
to new connections.
prev parent reply other threads:[~2010-03-03 23:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-03 22:48 Stateful port redirection? Faré
2010-03-03 23:32 ` Pascal Hambourg [this message]
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=4B8EF17B.3090808@plouf.fr.eu.org \
--to=pascal.mail@plouf.fr.eu.org \
--cc=netfilter@vger.kernel.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