Internet Schedules



  • Hi to all Pfsense user, I have some question to all… I need some help to config my pfsense, this is the setup i want.
    from 7Am - 11:59Am no Internet Connection to selective Computers. then from 12NN - 12:59Pm with internet connection to selective computers then 1pm - 8pm no internet connection. Need your Expertise



  • First go to Firewall > Aliases and add a new alias.
    Give the alias a name like "RestrictedHosts"
    Set the type to Host(s) and enter the IP address of each host.
    If you have a specific CIDR range to block, use the Network(s) type instead.

    Once all of the addresses are in the alias, save it and go to Firewall > Schedules.
    Add a new schedule and name is something like "BlockAccess".
    Click all of the days of the week you want the schedule to apply.
    Set the start time to 7:00 and the stop time to 11:59 and click Add time.
    Do it one more time for the 13:00 to 19:59 range. Then click Save.

    Then head to Firewall > Rules and create a new rule on the interface that the clients reside on.
    Set the type to Block, the protocol to any, the Source to "Single host or alias" and type the alias name you made earlier. Finally, select the schedule you made from the drop-down in the schedule section, and click save. 
    Make sure the block rule is above the default allow rule. This rule tells the firewall to block traffic from those specific machines during the time frames you entered in the schedule.

    Should look similar to this.



  • First go to Firewall > Aliases and add a new alias.
    Give the alias a name like "RestrictedHosts"
    Set the type to Host(s) and enter the IP address of each host.
    If you have a specific CIDR range to block, use the Network(s) type instead.

    Once all of the addresses are in the alias, save it and go to Firewall > Schedules.
    Add a new schedule and name is something like "BlockAccess".
    Click all of the days of the week you want the schedule to apply.
    Set the start time to 7:00 and the stop time to 11:59 and click Add time.
    Do it one more time for the 13:00 to 19:59 range. Then click Save.

    Then head to Firewall > Rules and create a new rule on the interface that the clients reside on.
    Set the type to Block, the protocol to any, the Source to "Single host or alias" and type the alias name you made earlier. Finally, select the schedule you made from the drop-down in the schedule section, and click save. 
    Make sure the block rule is above the default allow rule. This rule tells the firewall to block traffic from those specific machines during the time frames you entered in the schedule.

    Should look similar to this

    What If my client using a password auth setting in proxy server..if this setting will do?




  • You can use the squidguards time rules in conjunction with squid, but the firewall rules method is a lot easier for simple times.


Locked