Traffic policy and fwmark

Hello,

I see filter rules based on fwmark in traffic policy, but I did not found any way set fwmark. Is there any way to mark packets within vyos ?

Hi @vzotov, you can mark traffic with PBR features, e.g.

vyos@R1-VM# set policy route <name> rule 10 set mark 
Possible completions:
   <1-2147483647>
                Packet marking

Bit more about PBR you can read on https://docs.vyos.io/en/latest/routing/pbr.html#