-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/30/2009 12:05 PM, Tom Eastep wrote:
> 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

In other words, given that rtorrent is listening on port 6999, the
SOURCE port in upload traffic will be 6999; your rules are looking for
6999 in the DEST port.

- -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 \________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkqcJ+sACgkQO/MAbZfjDLKV+ACeN5hfsxV6pO9e1GD1Hqx5TofG
AaIAn0AR8RcURkVLQgCDJDBGl6RjlBEL
=w6Oq
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to