LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Squid / Squidguard Redirect URL (https://www.linuxquestions.org/questions/linux-server-73/squid-squidguard-redirect-url-4175519781/)

nishith 09-23-2014 12:55 AM

Squid / Squidguard Redirect URL
 
Hello LQ,

I would like to implement below thing in Red Hat Linux Squid or Squid Guard.

acl lan_ips src 192.168.1.0/24 10.10.0.0/16
acl whitelist_sites .xyz.com & more...
acl allow lan_ips whitelist_sites

Now, if someone types a site, which has not mentioned in "whitelist_sites", should be forwarded to "another page".

Here, except "whitelist_sites", everything should be blocked.

I think, SquidGuard can justify the actual requirement, but would like to get expert opinion from LQ.



- Nishith

TB0ne 09-24-2014 09:32 AM

Quote:

Originally Posted by nishith (Post 5242768)
Hello LQ,
I would like to implement below thing in Red Hat Linux Squid or Squid Guard.

acl lan_ips src 192.168.1.0/24 10.10.0.0/16
acl whitelist_sites .xyz.com & more...
acl allow lan_ips whitelist_sites

Now, if someone types a site, which has not mentioned in "whitelist_sites", should be forwarded to "another page". Here, except "whitelist_sites", everything should be blocked. I think, SquidGuard can justify the actual requirement, but would like to get expert opinion from LQ.

You could do this with squidguard, or by just doing redirection (which you asked about in another thread), through squid itself. Since you've got six years experience with squid at this point, aren't YOU an expert?


All times are GMT -5. The time now is 07:01 PM.