Traffic Shaping with Games



  • Hi everyone,

    I first want to say that PFSense is amazing! All of the services just work. However, the one thing that I am struggling with is the Traffic Shaper. I am probably doing something wrong, so I thought I would ask for some advice on this forum.

    I am using:
    2.3.1-RELEASE-p1 (amd64)
    built on Wed May 25 14:53:06 CDT 2016
    FreeBSD 10.3-RELEASE-p3

    There are currently 15 people using a 10Mbps line (currently syncing at 7Mbps), which is roughly 30 devices at peak hours.
    I would like to prioritize gaming, Steam Downloads and HTTP(S) over all other traffic.

    I have read up on a few of the topics in this forum and they say that I need to enable HFSC, so I go through the wizard and go through all the relevant options. I get the attached queues.

    Dota 2 still lags… :P All I want is for gaming to not lag. The line is maxed out all the time and I just need games to take priority over all other traffic. Please help with any suggestions/config changes.

    Thanks! :)



  • @Poenskop:

    Hi everyone,

    I first want to say that PFSense is amazing! All of the services just work. However, the one thing that I am struggling with is the Traffic Shaper. I am probably doing something wrong, so I thought I would ask for some advice on this forum.

    I am using:
    2.3.1-RELEASE-p1 (amd64)
    built on Wed May 25 14:53:06 CDT 2016
    FreeBSD 10.3-RELEASE-p3

    There are currently 15 people using a 10Mbps line (currently syncing at 7Mbps), which is roughly 30 devices at peak hours.
    I would like to prioritize gaming, Steam Downloads and HTTP(S) over all other traffic.

    I have read up on a few of the topics in this forum and they say that I need to enable HFSC, so I go through the wizard and go through all the relevant options. I get the attached queues.

    Dota 2 still lags… :P All I want is for gaming to not lag. The line is maxed out all the time and I just need games to take priority over all other traffic. Please help with any suggestions/config changes.

    Thanks! :)

    Your expectations of what traffic-shaping can do are unrealistic…

    First; read this: https://doc.pfsense.org/index.php/Traffic_Shaping_Guide
    Second; read this: http://www.linksysinfo.org/index.php?threads/qos-tutorial.68795/
    Third; search this forum. There is tons of information around here.

    If you still need help, please ask, but you need to do some initial legwork first. :)



  • Once you have read up on the links Nullity posted, I would start with the traffic-shaping wizard and PRIQ.  PRIQ is much easier to understand than HFSC.  If PRIQ isn't working for you then you can decide to explode your head and get into HFSC later.  Once you have gone through the wizard, check your floating firewall rules to see how traffic-shaping under pfSense is done.  You can then add or modify rules to your heart's content.  Create your PRIQ priority levels and then create firewall rules to match specific traffic to its related queue using either ports or destination IP address as a filter.  DOn't be afraid to blow it all away and start again with the wizard.  Note for PRIQ that you don't have to specify bandwidth for your WAN links at all like you have to do with HFSC.  PRIQ is all priority-based as opposed to HFSC which tries to service everyone effectively as best it can.



  • Can i delete all floating rules created by wizard and set the ackqueue and queue in lan rules with specific ports for gaming.. my purpose is to priority all games. games set to prio 5. see pics below