Hi, This is a resend of the port remap change with auto-exception for locally originating connections. This is done by adding a bit in nf_conn for LOCAL_OUT tracked entries. Patch 1/2 is same as in v2. Patch 2/2 is same as v3. v3 only contained patch 2/2 by mistake. Florian Westphal (2): netfilter: conntrack: tag conntracks picked up in local out hook netfilter: nat: force port remap to prevent shadowing well-known ports include/net/netfilter/nf_conntrack.h | 1 + net/netfilter/nf_conntrack_core.c | 3 ++ net/netfilter/nf_nat_core.c | 43 ++++++++++++++++++-- tools/testing/selftests/netfilter/nft_nat.sh | 5 ++- 4 files changed, 47 insertions(+), 5 deletions(-) -- 2.32.0