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 \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital 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