nftables

Traffic Shaping with nftables and tc

map deucalion { type ipv4_addr : classid; elements = { 1.1.1.2 : 2:2222, 1.1.1.3 : 3:3333 } } chain input { type filter hook input priority 0; policy accept; meta priority set ip daddr map @deucalion; }