Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    CP - for only 2 URL's

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 3 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kpdillon
      last edited by

      Hi, I would like to know with pfsense, captive portal and maybe squid/squid-guard if it is possible so to just impose a CP login page if someone goes too 2 specific URL's but no CP login anywhere else.

      So for example, someone goes to http://www.wikipedia.com or http://www.dictionary.com they get redirected to the CP login buy any other URL they are free to browse.

      My purposes for this is to limit the time my kids spend on certain flash game websites.  I've tried a bunch of things and can't quite get this working.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        impossible with captive portal. Squid/squidguard is the answer there.

        1 Reply Last reply Reply Quote 0
        • K
          kpdillon
          last edited by

          @cmb:

          impossible with captive portal. Squid/squidguard is the answer there.

          Thanks for the reply and input.  However, Squid/Squiguard doesn't seem to have a function where I can cap users to 1 hour a day toward certain sites.

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by

            @kpdillon:

            My purposes for this is to limit the time my kids spend on certain flash game websites.  I've tried a bunch of things and can't quite get this working.

            Since you didn't say what you tried and how it failed to work for you it isnot possible to say if it didn't work for you because you didn't quite do things properly. For example, it is easy to forget to reset firewall states after tweaking firewall rules.

            Perhaps a scheduled firewall rule (allow access to site aaa from 4pm to 5pm Mon-Fri) followed by a rule (block access to site aaa) would do something like what you want.

            1 Reply Last reply Reply Quote 0
            • K
              kpdillon
              last edited by

              @wallabybob:

              Since you didn't say what you tried and how it failed to work for you it isnot possible to say if it didn't work for you because you didn't quite do things properly. For example, it is easy to forget to reset firewall states after tweaking firewall rules.

              Perhaps a scheduled firewall rule (allow access to site aaa from 4pm to 5pm Mon-Fri) followed by a rule (block access to site aaa) would do something like what you want.

              I described what I am after in the first post.  A scheduled firewall rule doesn't meet my needs but thanks for your input.  In short, I am after a function that will allow me to limit elapsed time a user can spend on a couple of specific websites (time quota if you will).  If CP could be enforced to do this on only certain URL's that would meet my needs.  I don't want to punish the whole family with having to login into CP just because I want to setup elapsed time quotas against certain URL's.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.