I need to rewrite the UDP destination port on traffic which is only bridged/L2, but I could not match this traffic via iptables.
This traffic isn't going through NAT chains (it could be matched in FORWARD, but is not helpful) and ebtables don't have an option for rewriting ports, only DNAT/SNAT for altering MAC addresses.
Is there any simple solution? I have
bridge-nf-call-iptables enabled, and tried to play with
ebtables broute, but still no match in iptables PREROUTING.