Skip to contentSkip to conversation

htb iptables

LARTC Svetlin Ivanov 1 participant 1 message Jul 7, 2003

lore
Share & tools
lore
#0 lore raw

how can i MARK with iptables traffic in out INTERNET and in out PEERING from and forward to my LAN with 4 MARKS to create 4 class with htb wich have 4 fw filter and 4 parent with 4 u32 filter

and many subclasess for each client with U32 filter

---root1---------------------------------------------------------------------------------------------------------------------------------------------------------------
/ / / /
1:1 INTdown fw m=11 1:2 INupload fw m-2 1:3 Peeringdownload fw filter mark-3 1:4 Peering upload fw filter=mark 4
/ / / /
parent rate 32kbit U32 filter parent rate 16kbit U32 filter parent 64kbit U32 filter parent 32kbit U32 filter
192.168.1.2 192.168.1.2 192.168.1.2 192.168.1.2

please send me an example i am newby