All of lore.kernel.org
 help / color / mirror / Atom feed
From: wlet@gmx.net
To: Kristian Evensen <kristian.evensen@gmail.com>, netfilter@vger.kernel.org
Subject: Re: Outgoing redirection with iptables - TCP skips NAT?
Date: Thu, 19 Mar 2009 15:43:43 +0100	[thread overview]
Message-ID: <20090319144343.312510@gmx.net> (raw)
In-Reply-To: <17e3a8f80903190409w3b5d8822qef94af9106f08f21@mail.gmail.com>

Hi,

I guess this won't work because if you connection is established it will be stored in a TCP State table which is used for filtering and forwarding.
If you connection already exists it makes no sense to check it against all rules from the ruleset.

UDP doesn't have a statetable (cuz it's stateless) and that is the reason why this works.

wlet

  reply	other threads:[~2009-03-19 14:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-19 11:09 Outgoing redirection with iptables - TCP skips NAT? Kristian Evensen
2009-03-19 14:43 ` wlet [this message]
2009-03-19 14:55   ` Kristian Evensen
2009-03-19 22:57     ` whiplash
2009-03-19 15:19   ` Christoph Paasch

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=20090319144343.312510@gmx.net \
    --to=wlet@gmx.net \
    --cc=kristian.evensen@gmail.com \
    --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 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.