From: Tom E. <te...@sh...> - 2009-08-30 19:05:39
|
Constantine Karnacevych wrote: > hi > > who can ever help me out with the shaping of torrent traffic? > > i have a pptp at ppp0 over eth0 (10.0.0.1/8) > i would like to shape outgoing traffic of rtorrent on these two > interfaces, assume rtorrent is running at port 6999 > need 3mbit for ppp0 and 50mbit for eth0 > > i supposed: > > [tcclasses] > ppp0 1 2mbit 3mbit 1 > eth0 2 20mbit 50mbit 2 > > [tcrules] > 1 0.0.0.0/0 0.0.0.0/0 tcp 6999 > 2 10.0.0.1/8 10.0.0.1/8 tcp 6999 > > but they do not help > > shorewall 4.4.0, kernel 2.6.30 (no support for ipp2p) > > what rules may help me with this task? any ideas? You need to re-read the information about SOURCE and DEST ports at http://www.shorewall.net/traffic_shaping.htm#tcrules -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ |