I need to mark all packets originating from a specific container, and leave everything else as is.
The important processes are all running as UID 1000 inside the container, which is then mapped to a different one, so marking based on UID also suffices.
I tried tinkering with firewalld, but on F40 it uses iptables-nft, which I have no experience with.
Haven’t checked if it’s changed in F41 yet.