Am 20.04.2025 10:54 schrieb Stuart Henderson:
there is a lookup, but I'm not sure whether it ignores the nat-to rule
entirely, or just the port. I suspect it probably ignores the rule
entirely. (the complication with UDP is that there's no real state
in the protocol, so PF just works on timers).
if a specific port is not required, just some chante of port, then
just "nat-to $whatever_ip" without specifying a translation port, or
e.g. "nat-to $whatever_ip port 31330:31339".
oh well.. there's 'static-port' option, too. so if the emitting box is
rewriting to from 31337 already, it could be unaffected on the
forwarding box.
--
pb