[LARTC] htb iptables

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
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             

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux