LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-26-2014, 04:37 PM   #1
SSA
LQ Newbie
 
Registered: Dec 2001
Distribution: Ubuntu, Knoppix, DSL
Posts: 8

Rep: Reputation: 0
Trying to implement a url-rewrite proxy using SquidGuard/Squid proxy


I have installed Squid proxy and SquidGuard on Ubuntu Server 14.04. I managed to get Squid proxy passing through traffic without any issue, but I am having issues with getting SquidGuard to work properly alongside Squid. I am trying to configure SquidGuard as a url-rewrite proxy for an educational organization so that they can force google search requests by appending the safe search syntax.

Here is my sample SquidGuard.conf:

Code:
dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log
rew google {
 s@(.*google\..*/(custom|search|images|groups|news)?.*q=.*)@\1\&safe=active@i
}
acl {
 default {
 pass any
 rewrite google
 }
}
Does anybody have any experience using SquidGuard to rewrite google search requests? If there is a better way to do this I am certainly interested as well.
 
  


Reply

Tags
squid3, squidconf, squidguard, squidproxy


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Transparent Slackware proxy using Squid and SquidGuard : HTTPS Facebook? kikinovak Slackware 1 08-26-2013 08:48 AM
How to implement transparent proxy in squid 3.1 aliabbass Linux - Server 1 01-10-2012 10:34 AM
squidguard is not working with squid proxy ssilayaraja Linux - Server 5 12-06-2010 07:52 PM
Squid Proxy + NTLM + squidguard problem! Proxx Linux - Networking 0 12-03-2008 06:39 AM
Rewrite URL path in reversed proxy setup ptemmerman Linux - Software 1 11-18-2008 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:40 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