LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2009, 11:47 PM   #1
pbsenthil
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Post cache proxy server


Hi,

This is senthilkumar from india. Can i know the cache proxy server to be work as a client web monitoring. It is very useful for the administrators. I don't know if this facility is in current versions of squid proxy servers. It will be very unique for the education systems who using the web as lot.


with warm regards,

PB.SENTHIL KUMAR.
 
Old 12-17-2009, 04:57 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
If you're running a squid transparent proxy yes the administrators can monitor what sites are being visited and even restrict them.
 
Old 12-17-2009, 09:32 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
I think the answer to your question is not so much what is current in squid as what you can add on to squid to make it do what you want. Please take a look at sarg and squidguard for examples of utilities that add on functionality that you may be interested in (I'm sure that there are others; eg, calamaris...and for some things, a simple bash script may suffice, bt you might find it easier to work with a package which has the capabilities that you want).

Quote:
It will be very unique for the education systems who using the web as lot.
What? I am not able to assign any worthwhile meaning to that, so let's hope that it is unimportant.
 
Old 12-18-2009, 10:47 PM   #4
pbsenthil
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
HI,

Can i know how to configure the transparent proxy in squid. can i get the simple bash script. I am beginner of the linux administration. If you found simple bash script please post to this forum.
It will be very useful for me.


PB.SENTHIL KUMAR.
 
Old 12-19-2009, 02:36 AM   #5
mkp
Member
 
Registered: Jul 2008
Posts: 57

Rep: Reputation: 15
If you have squid installed, just set in squid.conf
Code:
http_port 3128 transparent
.
 
Old 12-19-2009, 03:18 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638

Rep: Reputation: Disabled
Also you will need to forward all the http traffic to squid port. It normally is 3128, unless you change it.

Code:
iptables -t nat -A PREROUTING -i $LAN_INTERFACE -p tcp --dport 80 -j REDIRECT --to-port 3128
This should make your squid work in transparent mode without your need to configure browsers. But in this way you loose control of the web access and it is always better to keep your squid not working transparently.
 
  


Reply


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
What distribution, for server + proxy (with cache) + web interface patrick_ Linux - General 4 04-23-2008 03:24 PM
clearing cache on squid proxy shadowsurfer Linux - Newbie 9 04-16-2008 12:33 AM
Squid proxy or cache server? jonette20 Linux - Newbie 2 08-07-2007 09:27 AM
Squid : 1 proxy 3 cache bazet Linux - Networking 1 12-03-2006 05:03 PM
Apache Proxy: Cache JPGs and others wwnexc Linux - Software 4 06-18-2006 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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