Skip to contentSkip to conversation

htb,iptables

LARTC eddieknows 2 participants 2 messages Feb 9, 2004 – Feb 11, 2004

lore
Share & tools
lore

eddieknows

author
#0 lore raw

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 8 lines · eddieknows

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

http://www.docum.org/stef.coene/qos/kptd/

Quoted 4 lines

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...

You can use the same numbering on different devices.

Quoted 3 lines

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

See docum.org for some examples.

Stef

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/