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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-16-2009, 11:47 PM
|
#1
|
LQ Newbie
Registered: Aug 2008
Posts: 3
Rep:
|
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.
|
|
|
12-17-2009, 04:57 PM
|
#2
|
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833
Rep:
|
If you're running a squid transparent proxy yes the administrators can monitor what sites are being visited and even restrict them.
|
|
|
12-17-2009, 09:32 PM
|
#3
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070
|
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.
|
|
|
12-18-2009, 10:47 PM
|
#4
|
LQ Newbie
Registered: Aug 2008
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
12-19-2009, 02:36 AM
|
#5
|
Member
Registered: Jul 2008
Posts: 57
Rep:
|
If you have squid installed, just set in squid.conf
Code:
http_port 3128 transparent
.
|
|
|
12-19-2009, 03:18 AM
|
#6
|
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|