LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-23-2014, 12:55 AM   #1
nishith
Member
 
Registered: Aug 2008
Posts: 148

Rep: Reputation: 15
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
 
Old 09-24-2014, 09:32 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,666

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by nishith View Post
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirect one url to other squid proxy server. bhimarora Linux - Newbie 1 07-05-2010 04:46 AM
Cannot Redirect URL to another URL when the link is down with Squid marx_long Linux - Newbie 1 06-13-2010 08:59 PM
Squid how to redirect url gubak Linux - Networking 3 03-04-2010 02:06 PM
Squid doesn't does't redirect to squidguard gubak Linux - Server 2 12-17-2009 02:02 PM
squid redirect url to different proxy aeby Linux - Software 0 08-13-2009 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration