All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] htb iptables
@ 2003-07-07 18:30 Svetlin Ivanov
  0 siblings, 0 replies; 3+ messages in thread
From: Svetlin Ivanov @ 2003-07-07 18:30 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]


  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              

[-- Attachment #2: Type: text/html, Size: 5514 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [LARTC] htb,iptables
@ 2004-02-09 13:59 eddieknows
  2004-02-11 18:42 ` Stef Coene
  0 siblings, 1 reply; 3+ messages in thread
From: eddieknows @ 2004-02-09 13:59 UTC (permalink / raw)
  To: lartc

Hi all
I'm sure you have heard this before but sorry.I wrote a script once and
never looked at it again.An as my luck will have it I need it now and it
is gone.I'm trying my best to rewrite it:-(

My 1st question is: If my server is a gateway and I'm marking packets
for iptables should I use OUTPUT,INPUT,PREROUTING,POSTROUTING or FORWARD
rules in iptables

And
If I create a qdisk and classes and parents as 1--1:1-<1:10to1:50 for
eth0 and I want to create rules for eth1 can I also start with 1--1:1...
or should it be like 2--2:1...

And
If someone would donate a script it will help a hell of a lot in this
time where there is no time...PLEASE
Thanks

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-11 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-07 18:30 [LARTC] htb iptables Svetlin Ivanov
  -- strict thread matches above, loose matches on Subject: below --
2004-02-09 13:59 [LARTC] htb,iptables eddieknows
2004-02-11 18:42 ` Stef Coene

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.