Nftables dnat config
From AcrodusWiki
Example nftables dnat config. This took a while to set up at first, make sure there is config for packets going in the reverse direction ie. masquerade.
table ip nat {
chain prerouting { type nat hook prerouting priority dstnat; policy accept; tcp dport 2202 dnat to 10.0.3.2 }
chain postrouting { type nat hook postrouting priority srcnat; policy accept; }
}