Traffic policy and fwmark


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:
                Packet marking

Bit more about PBR you can read on