Scheduling different limiter speeds each day?



  • Has anyone tried creating a schedule of limiter speeds?

    I am thinking it might be useful to have the limiter speed float up and down each day so that people can use more bandwidth in the evenings and overnight, but are throttled back during the day.

    Although, I don't want to be dropping connections to do this. In general if you have a big download going and the limiter switches speeds, I would prefer the download continue but just at a different rate rather than dropping completely.

    The only way I can see to do it is to use multiple limiter queue pairs with each at a different speed limit, and switching between the different queues at different times of the day. I don't know if established connections will just drop when the limiter changeover occurs.

    This is theory, I have not tried it yet:

    Firewall: Traffic Shaper: Limiter

    Name: InLimitLAN_1500
    Bandwidth: 1500 Kb/s
    Mask: Destination addresses

    Name: OutLimitLAN_1500
    Bandwidth: 1500 Kb/s
    Mask: Source addresses

    Name: InLimitLAN_3000
    Bandwidth: 1500 Kb/s
    Mask: Destination addresses

    Name: OutLimitLAN_3000
    Bandwidth: 1500 Kb/s
    Mask: Source addresses

    Name: InLimitLAN_6000
    Bandwidth: 1500 Kb/s
    Mask: Destination addresses

    Name: OutLimitLAN_6000
    Bandwidth: 1500 Kb/s
    Mask: Source addresses

    Firewall: Rules: LAN

    Pass Any protocol / Any Addr / Any Port  to [External proxy address]

    • Advanced Features, In/Out: OutLimitLAN_1500 / InLimitLAN_1500
    • Schedule 07:30 to 16:00, daily

    Pass Any protocol / Any Addr / Any Port  to [External proxy address]

    • Advanced Features, In/Out: OutLimitLAN_3000 / InLimitLAN_3000
    • Schedule 05:00 to 7:30, daily
    • Schedule 16:00 to 18:00, daily

    Pass Any protocol / Any Addr / Any Port  to [External proxy address]

    • Advanced Features, In/Out: OutLimitLAN_6000 / InLimitLAN_6000
    • Schedule 18:00 to 05:00, daily

    .


  • Rebel Alliance Developer Netgate

    This can only be done properly on 2.1, where each limiter can have multiple bandwidth entries and you select the schedules there in the limiter config.


Log in to reply