From: Florian Westphal <fw@strlen.de>
To: Aaron Fischer <mail@aaron-fischer.net>
Cc: netfilter@vger.kernel.org
Subject: Re: nftables: origin sport after dstnat
Date: Thu, 8 Dec 2022 08:48:33 +0100 [thread overview]
Message-ID: <20221208074833.GB28507@breakpoint.cc> (raw)
In-Reply-To: <20221208003159.3bc95cfc@deskFu>
Aaron Fischer <mail@aaron-fischer.net> wrote:
> chain FORWARD {
> type filter hook forward priority filter
> policy drop
> ct original proto-src 8448 accept
You need to prepend the l4 protocol that needs to be matched.
meta l4proto tcp ct original proto-src 8448 accept
> Why is 8448 an "invalid" type?
Because nft can't infer it from the available info.
prev parent reply other threads:[~2022-12-08 7:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-06 22:03 nftables: origin sport after dstnat Aaron Fischer
2022-12-07 11:29 ` Florian Westphal
2022-12-07 23:31 ` Aaron Fischer
2022-12-08 7:48 ` Florian Westphal [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=20221208074833.GB28507@breakpoint.cc \
--to=fw@strlen.de \
--cc=mail@aaron-fischer.net \
--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