Guide?



  • Is there a guide to help with setting up the traffic shaper? If there is I just can't find it.
    The wizard is all good but if you don’t know what information to punch in you can end up doing more harm than good. Also how does selecting the check box next to bittorent make it work with uTorrent? I mean it doesn’t ask for a port number or anything.



  • Ahhh! Just had my psychic firmware upgrade and now I can see "floating firewall rules".



  • which version of pfsense do you have?



  • 1.3 embedded but that's irrelevant really.
    The wizard says "Number of connections you have" to what? the internet? or total?
    And what should I put in the Peer to Peer networking Bandwidth: % box? what is a good value.
    The only guide I can find is this one http://devwiki.pfsense.org/TrafficShapingGuide but it doesn't really tell me much just that I really need to implement TS if I want to stop torrents swamping my link.
    Cheers



  • it´s not irrelevant, really ;) because 1.3 is alpha and a doku exists only for 1.2. Take a look here at this thread. Here you have further informations
    http://forum.pfsense.org/index.php/topic,2718.210.html

    Regards
    heiko



  • :-X My bad, I had no idea it was still in its infancy and that post just confused me more. I will make do with 1.2 RELEASE and wait till 1.3 RELEASE.
    All the best.



  • I have now downgraded to 1.2-RELEASE and the wizard makes much more sense and seems to work better. I am getting drops on qOthersUpH when I believe I should not be. Please can you spoon feed me by pointing me towards this '1.2 doku' you mentioned because I just can't find it.

    doku exists only for 1.2

    Many Thanks



  • I haven´t another link http://devwiki.pfsense.org/TrafficShapingGuide . This is the only short guide, for special problems you need this forum. The TS Board has for example a lot of useful sticky threads…

    and this one http://devwiki.pfsense.org/HFSCBandwidthShapingNotes



  • A thorough guide would be welcom, PFsense has a powerful WebGUI, but it can be daunting for noobies like me. Thanks for the links provided in this thread.



  • Can anyone advise me why I might be getting drops on qOthersUpH?

    	 <shaper><schedulertype>hfsc</schedulertype>
    		 <queue><name>qwanRoot</name>
    			<associatedrule>0</associatedrule>
    			<priority>0</priority>
    			<parentqueue>on</parentqueue>
    			<bandwidth>723</bandwidth>
    			<bandwidthtype>Kb</bandwidthtype></queue> 
    		 <queue><schedulertype><bandwidth>10240</bandwidth>
    			<bandwidthtype>Kb</bandwidthtype>
    			<priority>0</priority>
    			<name>qlanRoot</name>
    			 <borrow><linkshare><linkshare3><linkshare2><linkshare1><realtime><realtime3><realtime2><realtime1><upperlimit><upperlimit3><upperlimit2><upperlimit1><parentqueue>on</parentqueue>
    			 <attachtoqueue><associatedrule><rio><red><ecn><defaultqueue></defaultqueue></ecn></red></rio></associatedrule></attachtoqueue></upperlimit1></upperlimit2></upperlimit3></upperlimit></realtime1></realtime2></realtime3></realtime></linkshare1></linkshare2></linkshare3></linkshare></borrow></schedulertype></queue> 
    		 <queue><schedulertype><bandwidth>10</bandwidth>
    			<bandwidthtype>%</bandwidthtype>
    			<priority>1</priority>
    			<name>qwandef</name>
    			 <borrow><linkshare><linkshare3><linkshare2><linkshare1><realtime>on</realtime>
    			<realtime3>1%</realtime3>
    			 <realtime2><realtime1><upperlimit><upperlimit3><upperlimit2><upperlimit1><parentqueue><attachtoqueue>qwanRoot</attachtoqueue>
    			 <associatedrule><rio><red><ecn><defaultqueue>on</defaultqueue></ecn></red></rio></associatedrule></parentqueue></upperlimit1></upperlimit2></upperlimit3></upperlimit></realtime1></realtime2></linkshare1></linkshare2></linkshare3></linkshare></borrow></schedulertype></queue> 
    		 <queue><schedulertype><bandwidth>10</bandwidth>
    			<bandwidthtype>%</bandwidthtype>
    			<priority>1</priority>
    			<name>qlandef</name>
    			 <borrow><linkshare><linkshare3><linkshare2><linkshare1><realtime>on</realtime>
    			<realtime3>1%</realtime3>
    			 <realtime2><realtime1><upperlimit><upperlimit3><upperlimit2><upperlimit1><parentqueue><attachtoqueue>qlanRoot</attachtoqueue>
    			 <associatedrule><rio><red><ecn><defaultqueue>on</defaultqueue></ecn></red></rio></associatedrule></parentqueue></upperlimit1></upperlimit2></upperlimit3></upperlimit></realtime1></realtime2></linkshare1></linkshare2></linkshare3></linkshare></borrow></schedulertype></queue> 
    		 <queue><schedulertype><bandwidth>30</bandwidth>
    			<bandwidthtype>%</bandwidthtype>
    			<priority>7</priority>
    			<name>qwanacks</name>
    			 <borrow><linkshare><linkshare3><linkshare2><linkshare1><realtime>on</realtime>
    			<realtime3>10%</realtime3>
    			 <realtime2><realtime1><upperlimit><upperlimit3><upperlimit2><upperlimit1><parentqueue><attachtoqueue>qwanRoot</attachtoqueue>
    			 <associatedrule><ack>on</ack>
    			 <rio><red><ecn><defaultqueue></defaultqueue></ecn></red></rio></associatedrule></parentqueue></upperlimit1></upperlimit2></upperlimit3></upperlimit></realtime1></realtime2></linkshare1></linkshare2></linkshare3></linkshare></borrow></schedulertype></queue> 
    		 <queue><schedulertype><bandwidth>30</bandwidth>
    			<bandwidthtype>%</bandwidthtype>
    			<priority>7</priority>
    			<name>qlanacks</name>
    			 <borrow><linkshare><linkshare3><linkshare2><linkshare1><realtime>on</realtime>
    			<realtime3>10%</realtime3>
    			 <realtime2><realtime1><upperlimit><upperlimit3><upperlimit2><upperlimit1><parentqueue><attachtoqueue>qlanRoot</attachtoqueue>
    			 <associatedrule><ack>on</ack>
    			 <rio><red><ecn><defaultqueue></defaultqueue></ecn></red></rio></associatedrule></parentqueue></upperlimit1></upperlimit2></upperlimit3></upperlimit></realtime1></realtime2></linkshare1></linkshare2></linkshare3></linkshare></borrow></schedulertype></queue> 
    		 <queue><name>qP2PUp</name>
    			<attachtoqueue>qwanRoot</attachtoqueue>
    			<associatedrule>0</associatedrule>
    			<priority>1</priority>
    			<red>on</red>
    			<ecn>on</ecn>
    			<realtime>on</realtime>
    			<realtime3>1Kb</realtime3>
    			<bandwidth>1</bandwidth>
    			<bandwidthtype>%</bandwidthtype>
    			<qlimit>500</qlimit></queue> 
    		 <queue><name>qP2PDown</name>
    			<attachtoqueue>qlanRoot</attachtoqueue>
    			<associatedrule>0</associatedrule>
    			<priority>1</priority>
    			<red>on</red>
    			<ecn>on</ecn>
    			<realtime>on</realtime>
    			<realtime3>1Kb</realtime3>
    			<bandwidth>1</bandwidth>
    			<bandwidthtype>%</bandwidthtype>
    			<qlimit>500</qlimit></queue> 
    		 <queue><schedulertype><bandwidth>20</bandwidth>
    			<bandwidthtype>%</bandwidthtype>
    			<priority>4</priority>
    			<name>qOthersUpH</name>
    			 <borrow><linkshare><linkshare3><linkshare2><linkshare1><realtime>on</realtime>
    			<realtime3>1Kb</realtime3>
    			 <realtime2><realtime1><upperlimit><upperlimit3><upperlimit2><upperlimit1><parentqueue><attachtoqueue>qwanRoot</attachtoqueue>
    			 <associatedrule><rio><red>on</red>
    			<ecn>on</ecn>
    			 <defaultqueue></defaultqueue></rio></associatedrule></parentqueue></upperlimit1></upperlimit2></upperlimit3></upperlimit></realtime1></realtime2></linkshare1></linkshare2></linkshare3></linkshare></borrow></schedulertype></queue> 
    		 <queue><schedulertype><bandwidth>20</bandwidth>
    			<bandwidthtype>%</bandwidthtype>
    			<priority>4</priority>
    			<name>qOthersDownH</name>
    			 <borrow><linkshare><linkshare3><linkshare2><linkshare1><realtime>on</realtime>
    			<realtime3>1Kb</realtime3>
    			 <realtime2><realtime1><upperlimit><upperlimit3><upperlimit2><upperlimit1><parentqueue><attachtoqueue>qlanRoot</attachtoqueue>
    			 <associatedrule><rio><red>on</red>
    			<ecn>on</ecn>
    			 <defaultqueue></defaultqueue></rio></associatedrule></parentqueue></upperlimit1></upperlimit2></upperlimit3></upperlimit></realtime1></realtime2></linkshare1></linkshare2></linkshare3></linkshare></borrow></schedulertype></queue> 
    		 <queue><name>qOthersUpL</name>
    			<attachtoqueue>qwanRoot</attachtoqueue>
    			<associatedrule>0</associatedrule>
    			<priority>2</priority>
    			<red>on</red>
    			<ecn>on</ecn>
    			<realtime>on</realtime>
    			<realtime3>1Kb</realtime3>
    			<bandwidth>1</bandwidth>
    			<bandwidthtype>%</bandwidthtype>
    			<qlimit>500</qlimit></queue> 
    		 <queue><name>qOthersDownL</name>
    			<attachtoqueue>qlanRoot</attachtoqueue>
    			<associatedrule>0</associatedrule>
    			<priority>2</priority>
    			<red>on</red>
    			<ecn>on</ecn>
    			<realtime>on</realtime>
    			<realtime3>1Kb</realtime3>
    			<bandwidth>1</bandwidth>
    			<bandwidthtype>%</bandwidthtype>
    			<qlimit>500</qlimit></queue> 
    		 <rule><inqueue>qOthersDownH</inqueue>
    			<outqueue>qOthersUpH</outqueue>
    			<in-interface>lan</in-interface>
    			<out-interface>wan</out-interface>
    			<source>
    				<network>lan</network>
    
    			 <destination><any><port>25-25</port></any></destination> 
    			<descr>m_Other SMTP outbound</descr>
    			<protocol>tcp</protocol></rule> 
    		 <rule><inqueue>qOthersUpH</inqueue>
    			<outqueue>qOthersDownH</outqueue>
    			<in-interface>wan</in-interface>
    			<out-interface>lan</out-interface>
    			<source>
    				 <any><destination><network>lan</network>
    				<port>25-25</port></destination> 
    			<descr>m_Other SMTP inbound</descr>
    			<protocol>tcp</protocol></any></rule> 
    		 <rule><inqueue>qOthersDownH</inqueue>
    			<outqueue>qOthersUpH</outqueue>
    			<in-interface>lan</in-interface>
    			<out-interface>wan</out-interface>
    			<source>
    				<network>lan</network>
    
    			 <destination><any><port>80-80</port></any></destination> 
    			<descr>m_Other HTTP outbound</descr>
    			<protocol>tcp</protocol></rule> 
    		 <rule><inqueue>qOthersUpH</inqueue>
    			<outqueue>qOthersDownH</outqueue>
    			<in-interface>wan</in-interface>
    			<out-interface>lan</out-interface>
    			<source>
    				 <any><destination><network>lan</network>
    				<port>80-80</port></destination> 
    			<descr>m_Other HTTP inbound</descr>
    			<protocol>tcp</protocol></any></rule> 
    		 <rule><inqueue>qOthersDownH</inqueue>
    			<outqueue>qOthersUpH</outqueue>
    			<in-interface>lan</in-interface>
    			<out-interface>wan</out-interface>
    			<source>
    				<network>lan</network>
    
    			 <destination><any><port>443-443</port></any></destination> 
    			<descr>m_Other HTTPS outbound</descr>
    			<protocol>tcp</protocol></rule> 
    		 <rule><inqueue>qOthersUpH</inqueue>
    			<outqueue>qOthersDownH</outqueue>
    			<in-interface>wan</in-interface>
    			<out-interface>lan</out-interface>
    			<source>
    				 <any><destination><network>lan</network>
    				<port>443-443</port></destination> 
    			<descr>m_Other HTTPS inbound</descr>
    			<protocol>tcp</protocol></any></rule> 
    		 <rule><inqueue>qOthersDownH</inqueue>
    			<outqueue>qOthersUpH</outqueue>
    			<in-interface>lan</in-interface>
    			<out-interface>wan</out-interface>
    			<source>
    				<network>lan</network>
    
    			 <destination><any><port>53-53</port></any></destination> 
    			<descr>m_Other DNS1 outbound</descr>
    			<protocol>tcp</protocol></rule> 
    		 <rule><inqueue>qOthersDownH</inqueue>
    			<outqueue>qOthersUpH</outqueue>
    			<in-interface>lan</in-interface>
    			<out-interface>wan</out-interface>
    			<source>
    				<network>lan</network>
    
    			 <destination><any><port>53-53</port></any></destination> 
    			<descr>m_Other DNS2 outbound</descr>
    			<protocol>udp</protocol></rule> 
    		 <rule><inqueue>qOthersUpH</inqueue>
    			<outqueue>qOthersDownH</outqueue>
    			<in-interface>wan</in-interface>
    			<out-interface>lan</out-interface>
    			<source>
    				 <any><destination><network>lan</network>
    				<port>3389-3389</port></destination> 
    			<descr>m_Other MSRDP inbound</descr>
    			<protocol>tcp</protocol></any></rule> 
    		 <rule><inqueue>qOthersDownH</inqueue>
    			<outqueue>qOthersUpH</outqueue>
    			<in-interface>lan</in-interface>
    			<out-interface>wan</out-interface>
    			<source>
    				<network>lan</network>
    
    			 <destination><any><port>3389-3389</port></any></destination> 
    			<descr>m_Other MSRDP outbound</descr>
    			<protocol>tcp</protocol></rule> 
    		 <rule><inqueue>qOthersDownH</inqueue>
    			<outqueue>qOthersUpH</outqueue>
    			<in-interface>lan</in-interface>
    			<out-interface>wan</out-interface>
    			<source>
    				<network>lan</network>
    
    			 <destination><any></any></destination> 
    			<descr>m_Other ICMP outbound</descr>
    			<protocol>icmp</protocol></rule> 
    		 <rule><inqueue>qOthersUpH</inqueue>
    			<outqueue>qOthersDownH</outqueue>
    			<in-interface>wan</in-interface>
    			<out-interface>lan</out-interface>
    			<source>
    				 <any><destination><network>lan</network></destination> 
    			<descr>m_Other ICMP inbound</descr>
    			<protocol>icmp</protocol></any></rule> 
    		 <rule><in-interface>wan</in-interface>
    			<out-interface>lan</out-interface>
    			<protocol>tcp</protocol>
    			<source>
    				 <any><destination><network>lan</network></destination> 
    			 <direction><iptos><tcpflags><descr>m_P2P BitTorrent inbound</descr>
    			<inqueue>qP2PUp</inqueue>
    			<outqueue>qP2PDown</outqueue></tcpflags></iptos></direction></any></rule> 
    		 <rule><in-interface>wan</in-interface>
    			<out-interface>lan</out-interface>
    			<protocol>udp</protocol>
    			<source>
    				 <any><destination><network>lan</network></destination> 
    			 <direction><iptos><tcpflags><descr>m_P2P BitTorrent inbound</descr>
    			<inqueue>qP2PUp</inqueue>
    			<outqueue>qP2PDown</outqueue></tcpflags></iptos></direction></any></rule> 
    		 <rule><in-interface>lan</in-interface>
    			<out-interface>wan</out-interface>
    			<protocol>tcp</protocol>
    			<source>
    				<network>lan</network>
    
    			 <destination><any></any></destination> 
    			 <direction><iptos><tcpflags><descr>m_P2P BitTorrent outbound</descr>
    			<inqueue>qP2PDown</inqueue>
    			<outqueue>qP2PUp</outqueue></tcpflags></iptos></direction></rule> 
    		 <rule><in-interface>lan</in-interface>
    			<out-interface>wan</out-interface>
    			<protocol>udp</protocol>
    			<source>
    				<network>lan</network>
    
    			 <destination><any></any></destination> 
    			 <direction><iptos><tcpflags><descr>m_P2P BitTorrent outbound</descr>
    			<inqueue>qP2PDown</inqueue>
    			<outqueue>qP2PUp</outqueue></tcpflags></iptos></direction></rule> 
    		 <enable></enable></shaper> 
    
    	 <ezshaper><step2><download>10679</download>
    			<upload>723</upload>
    			<inside_int>lan</inside_int>
    			<outside_int>wan</outside_int></step2> 
    		 <step3><provider>Generic</provider>
    
    <address>
    			<bandwidth>32</bandwidth>
    
    		 <step4><address>
    			 <bandwidthup><bandwidthdown><step5><enable>on</enable>
    			 <bandwidthup><bandwidthdown><bittorrent>on</bittorrent>
    			<edonkey2000>on</edonkey2000></bandwidthdown></bandwidthup></step5> 
    		 <step7><enable>on</enable>
    			<msrdp>H</msrdp>
    			<vnc>D</vnc>
    			<appleremotedesktop>D</appleremotedesktop>
    			<pcanywhere>D</pcanywhere>
    			<irc>D</irc>
    			<jabber>D</jabber>
    			<icq>D</icq>
    			<aolinstantmessenger>D</aolinstantmessenger>
    			<msnmessenger>D</msnmessenger>
    			<teamspeak>D</teamspeak>
    			<pptp>D</pptp>
    			<ipsec>D</ipsec>
    			<streamingmp3>D</streamingmp3>
    			<rtsp>D</rtsp>
    			<http>H</http>
    			<smtp>H</smtp>
    			<pop3>D</pop3>
    			<imap>D</imap>
    			<lotusnotes>D</lotusnotes>
    			<dns>H</dns>
    			<icmp>H</icmp>
    			<smb>D</smb>
    			<snmp>D</snmp>
    			<mysqlserver>D</mysqlserver>
    			<nntp>D</nntp>
    			<cvsup>D</cvsup></step7> 
    
    ![](http://www.cheesyboofs.co.uk/upload/shaper2.jpg)
    
    ![](http://www.cheesyboofs.co.uk/upload/shaper3.jpg)</bandwidthdown></bandwidthup> </address></step4> </address></step3></ezshaper> 
    

Log in to reply