[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Advanced traffic shaping with iptables?




See http://archives.seul.org/or/talk/Aug-2007/msg00192.html
for such a script. I've not tested it myself, so YMMV.

the documentation on trafic shaping under linux is here:
http://lartc.org/

Cheers!
Thanks man, this script looks pretty much the way, I've been looking for. Yep, the syntax of iptables+tc is really confusing, I tried to go through some tutorials before. But you seem to have posted a usefull link, I'll have a look at it later. Can you also telle me, what the BOX_IP and TOR_IP-paramteters are good for? It has nothing to do with my own IP-address, has it? Cause I've got a dynamic one...

I've a similar setup with a slightly better upload rate (64KB nominal) and
I don't use shaping at all. I've set up tor with 60KB/60KB bandwith limits
and find out they're ok.
The only real downside are online games (nexuiz) which suffers badly,
otherwise all other applications are ok.

ciao

Hmm, for me, it doesn't seem to work. Talks with VoIP hangs badly, while TOR is running too. I've always got to stop the process first (what is really annoying, cause I've got to connect over SSH to my mini-linux-server in the cellar first).
If you want bandwidth shaping, I'd suggest using pf (Open/FreeBSD) for
traffic shaping.
iptables + tc never did the job for me and it's the reason I tried pf in the
first place.

Pf has incredibly legible syntax and reading the pf faq will get you up and
running in no time.
Sounds good, but I don't want to move from Debian to Open/FreeBSD. I would have to set up all the apps again...


Thanks for the quick responses.
Greetz, Linus