]> git.ipfire.org Git - thirdparty/nftables.git/commit
rule: allow src/dstnat prios in input and output
authorFlorian Westphal <fw@strlen.de>
Fri, 28 Jul 2023 17:43:16 +0000 (19:43 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 31 Jul 2023 13:04:30 +0000 (15:04 +0200)
commit8beafab74c391130fbb9111bfccab8613644e3b9
treec5363937819629b4b7d667126b697d4ed7eacf95
parentb3def33efecb2f7be39fc9aefc9546907202056c
rule: allow src/dstnat prios in input and output

Dan Winship says:

The "dnat" command is usable from either "prerouting" or "output", but the
"dstnat" priority is only usable from "prerouting". (Likewise, "snat" is usable
from either "postrouting" or "input", but "srcnat" is only usable from
"postrouting".)

No need to restrict those priorities to pre/postrouting.

Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1694
Signed-off-by: Florian Westphal <fw@strlen.de>
src/rule.c