Can I schedule the limiters?



  • For example, I created a limiter as below
    Name : download_limit
    Mask : Source
    Bandwitdh: 512K

    I created a schedule as below
    after-work: 17:30-23:59

    I want this limiter to be scheduled at after-work.. this limiter will be active only between 17:30-23:59…is it possible?
    if it is possible, I will apply it to a firewall rule...


  • Rebel Alliance Developer Netgate

    That works on 2.1, but not before.

    When you make the limiters on 2.1, there is an additional schedule field next to the bandwidth value, and you can specify multiple bandwidths each on their own schedule.



  • thanks. by the way, I wonder if the developers of pfSense  will put schedule field for limiters in pfSense 2.0.3 as in pfSense 2.0.1?
    in my opinion, the schedule field support for limiters is a perfect property…

    @jimp:

    That works on 2.1, but not before.

    When you make the limiters on 2.1, there is an additional schedule field next to the bandwidth value, and you can specify multiple bandwidths each on their own schedule.


  • Rebel Alliance Developer Netgate

    It's there on 2.1, it wasn't on 2.0.1 or 2.0.2 or 2.0.3.

    If you need it, use 2.1. Features like that won't be backported, 2.1 will be coming out in the near future, no reason to keep pulling stuff back in. 2.1 is stable enough that if you need a feature it has, you can upgrade and use it without much concern.



  • thanks a lot. I look forward to the newest version pfSense 2.1..
    good luck



  • @jimp:

    It's there on 2.1, it wasn't on 2.0.1 or 2.0.2 or 2.0.3.

    If you need it, use 2.1. Features like that won't be backported, 2.1 will be coming out in the near future, no reason to keep pulling stuff back in. 2.1 is stable enough that if you need a feature it has, you can upgrade and use it without much concern.

    One thing to note is that in current snaps (I imagine they're at least considering fixing this for the final release) all limiters MUST be assigned a schedule or the default schedule will be "never" instead of "always" (that is, your limiters will never do anything if not assigned a schedule)

    P.S. I'm also guessing you're doing it wrong, obviously I don't know your setup but as a general rule download limits (which you named yours) get masked per DESTINATION (that is, a pipe for each computer on your LAN rather than a pipe for each server on the Internet) while upload limits are masked per source (again, to create a pipe for each computer on your LAN, in this case the source of traffic)



  • @abdurrahman:

    For example, I created a limiter as below
    Name : download_limit
    Mask : Source
    Bandwitdh: 512K

    I created a schedule as below
    after-work: 17:30-23:59

    I want this limiter to be scheduled at after-work.. this limiter will be active only between 17:30-23:59…is it possible?
    if it is possible, I will apply it to a firewall rule...

    Just as noted by @mark, downlink limiter will go with DESTINATION MASK while uplink limiter will go with SOURCE MASK.

    Then on schedule, apply the schedule on the firewall rule you will create to push traffic to the limiters. I'v done this and is working perfectly.


Log in to reply