All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Krzysztof Oledzki <ole@ans.pl>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: xt_policy: output policy not valid in PRE_ROUTING and INPUT
Date: Mon, 06 Aug 2007 14:44:11 +0200	[thread overview]
Message-ID: <46B7179B.7090002@trash.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0708061438011.23493@bizon.gios.gov.pl>

Krzysztof Oledzki wrote:
> On Mon, 6 Aug 2007, Patrick McHardy wrote:
> 
>> The IPsec policy is selected after routing, which is why can't
>> be used in PREROUTING.
> 
> 
> Is there any other solution than duplicating ipsec policies with "-A
> PREROUTING -s (...) -d (...) -p (...) -j RETURN"? I would like to
> REDIRECT only packets that are not going thru ipsec tunnels.


I can't think of one.

      reply	other threads:[~2007-08-06 12:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-06 11:22 xt_policy: output policy not valid in PRE_ROUTING and INPUT Krzysztof Oledzki
2007-08-06 12:30 ` Patrick McHardy
2007-08-06 12:41   ` Krzysztof Oledzki
2007-08-06 12:44     ` Patrick McHardy [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=46B7179B.7090002@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=ole@ans.pl \
    /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.