URL filtering on a schedule basis for specific subnets



  • Hi All,

    I'm quiet confused as to how am I suppose to achieve this. What I would like to do is that block specific access such torrent, facebook… etc on a schedule basis only to a given subnet. This is where exactly I'm lost

    E.G.: I need to block facebook for users who're in 10.1.1.2 - 10.1.1.254/24 subnet only within official hours. But the rest who're in other subnet should be able to access it (10.1.2.1 - 10.1.2.254/24).

    Can anyone please advise me on this. and how to achieve this??


  • Netgate Administrator

    Are these subnets connected via different interfaces? Just apply the rules to the appropriate interface.

    Steve



  • @stephenw10:

    Are these subnets connected via different interfaces? Just apply the rules to the appropriate interface.

    Steve

    No I do not have separate interfaces. Its just WAN & a LAN interface.. and IP's are issued by windows DHCP (which is only 10.1.10.1 - 10.1.10.254). Rest subnets are manually assigned since we use the subnet as /16


  • Netgate Administrator

    Well you can still do it with different firewall rules, just set the required IP range as the source address. Of course there will nothing to stop users in the blocked group giving themselves a static IP in the unblocked group to get around that.

    Steve