Traffic Shaping, Floating Rules, uTorrent



  • Hey folks,

    Quite new to shaping, so don't jump on me :) I want to shape torrent traffic and also give it lowest priority, but to achieve this, I must be able to put the torrent traffic into the P2P queues.

    I see that the Shaper Wizard created the following rules for P2P traffic:

    
    Proto  	Source  	Port  	Destination  	Port  	Gateway  	Queue  	Schedule  	Description
    TCP  	 *  	 *  	 *  	 6881 - 6999  	 * 	 qP2P  	    	 m_P2P BitTorrent outbound
    UDP 	* 	* 	* 	6881 - 6999 	* 	qP2P 	  	m_P2P BitTorrent outbound  
    
    

    The way I interpret this - all outbound traffic on port range 6881 - 6999 will by classified as P2P traffic and put in the appropriate qP2P queue, which will allow traffic shaping. Is this correct? If so, how do I limit utorrent outbound ports to 6881 - 6999 and isn't this too tight of a range?

    I also see that the "Ackqueue/Queue" is set to "None/qP2P". Shouldn't it be "qACK/qP2P"?



  • Use layer7 if you want more control than that.



  • @ermal:

    Use layer7 if you want more control than that.

    I'm trying to learn traffic shaping in pfsense, so I was hoping that you (or someone else) could confirm my assumptions above. I'll also try using Layer 7 (although I can't find any detailed info on its setup in pfsense either).



  • @Jerubei:

    I'm trying to learn traffic shaping in pfsense, so I was hoping that you (or someone else) could confirm my assumptions above. I'll also try using Layer 7 (although I can't find any detailed info on its setup in pfsense either).

    Jerubei,
    Take a look at this recent post by ermal where he goes into detail on how to use the layer 7 feature.
    http://forum.pfsense.org/index.php/topic,17347.0.html

    I'm working on the traffic shaping guide on the wiki also, that might help you with some of the setup.
    http://doc.pfsense.org/index.php/Traffic_Shaping_Guide
    Josh



  • @stompro:

    @Jerubei:

    I'm trying to learn traffic shaping in pfsense, so I was hoping that you (or someone else) could confirm my assumptions above. I'll also try using Layer 7 (although I can't find any detailed info on its setup in pfsense either).

    Jerubei,
    Take a look at this recent post by ermal where he goes into detail on how to use the layer 7 feature.
    http://forum.pfsense.org/index.php/topic,17347.0.html

    I'm working on the traffic shaping guide on the wiki also, that might help you with some of the setup.
    http://doc.pfsense.org/index.php/Traffic_Shaping_Guide
    Josh

    Thank you, this is a very useful reply!


Log in to reply