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:30:19 +0200 [thread overview]
Message-ID: <46B7145B.4070407@trash.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0708061317410.23493@bizon.gios.gov.pl>
Krzysztof Oledzki wrote:
> Hello,
>
> Is there any reason why it is not possible to use "-m policy --dir out"
> in PREROUTING? I tried to do something like:
>
> -A PREROUTING -m policy --dir out --pol ipsec -j RETURN
> -A PREROUTING -p tcp -i $IF_LANBR --dport 80 -j REDIRECT --to-ports 8088
The IPsec policy is selected after routing, which is why can't
be used in PREROUTING.
next prev parent reply other threads:[~2007-08-06 12:30 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 [this message]
2007-08-06 12:41 ` Krzysztof Oledzki
2007-08-06 12:44 ` Patrick McHardy
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=46B7145B.4070407@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.