CP - for only 2 URL's
-
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!
-
impossible with captive portal. Squid/squidguard is the answer there.
-
@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.
-
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.
-
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.