set policy local-route rule 10 fwmark '42'
set policy local-route rule 10 set table '100'
It generates the next rules
vyos@r1-roll# sudo ip rule show
0: from all lookup local
10: from all fwmark 0x2a lookup 100
32766: from all lookup main
32767: from all lookup default
it is ok to mark packets, but I am talk about packet match. right now I can match, for example, tcp packet with src/dst/src port/dst port, but I can not match packet tos field