I would like to handover certain packages (which I’m marking in the OUTPUT chain) back to the CUSTOMINPUT (or INPUT) chain in a way, that they pass a mangle INPUT rule.
The handover to the CUSTOMINPUT chain is working ( ‘… -j CUSTOMINPUT’). I can see the hits in the CUSTOMINPUT chain. But the packets obviously don’t pass my mangle rule (‘iptables -t mangle -A INPUT -s x.x.x.x -m “condition” -j MARK --set-mark yy’).
My understanding of the packet flow from the wiki is, that the mangle chain would be processed before any INPUT rule. Is that correct?
Any hint/idea is appreciated.
Best regards and stay healthy