LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2006, 12:07 PM   #1
Rustylinux
Member
 
Registered: Mar 2006
Posts: 177

Rep: Reputation: 30
Help Installing / Configuring Squid


Hello,

Just wondering if someone would be able to help me get squid running and off the ground. I know it can be done pretty quickly and easily with FreeBSD but I was wondering what other distro's it works well with. Currently i'm trying to install it on Gentoo. Anyhow I have it compiled and installed but after that if someone would be able to help me with a typically config file that would be great. I just want it to be used as a typical caching proxy with LDAP authentication with Active Directory so I can restrict access with a group in AD.

Ohh also I was wondering if there was a way that you can setup the information via webbrowser to view once its up and running.

Thanks in advance,
 
Old 03-25-2006, 04:25 PM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
well i'd suggest you go with Fedora as a distro, very easy to use squid with it and then check out my website listed below for information about running ldap client to authenicate against Active directory and squid with PAM authenication.

or NTLM authenication with squid and joining a linux box to the domain using winbind.

there is a heap of information on my website, just check it out.
 
Old 03-26-2006, 08:16 AM   #3
Rustylinux
Member
 
Registered: Mar 2006
Posts: 177

Original Poster
Rep: Reputation: 30
Thanks, I will see what I can do with thouse how to documents. If I want to authenticate say a users group called httprestricted in active directory from getting onto the internet via Squid would I only have to use OpenLDAP or would I have to use PAM as well?

Also once squid is up and running is there anyway to push the cached information to a web based interface to see the results and statics ?
 
Old 03-26-2006, 07:26 PM   #4
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
there are plently of squid report generators and things of that nature, i've never had any need for any of them so i havn't look that much into them, but fedora has one by default ... but i can't remember what it's called, hit google and searhc for 'squid log analyzer' & 'squid report generators'.

As for your first question, i've never restricted only one group from getting on the internet before, but i image if you had an ou=group called, ou=http,dc=example,cd=com and then your had all your other users in ou=group,dc=example,cd=com. then you could point LDAP to the http group and it wouldn't let the otheres acccess the internet.
 
Old 03-26-2006, 11:04 PM   #5
Rustylinux
Member
 
Registered: Mar 2006
Posts: 177

Original Poster
Rep: Reputation: 30
Yeah I think that would work perfect as what I want to do is have a group in AD called httprestricted. So whenever I want to restrict a user from all internet access I can just add them to that group memebership. If I have to creat a second group called httpallow to allow users internet access I'll do that to, not sure if its nessary tho, but I would only have to use OpenLDAP for this right ? I wouldn't have to bother with PAM
 
Old 03-26-2006, 11:15 PM   #6
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
thats right, you'd only need ldap, but i've never used ldap before, only pam and ntlm, so you'll have to look up ldap and squid.
 
Old 03-26-2006, 11:21 PM   #7
Rustylinux
Member
 
Registered: Mar 2006
Posts: 177

Original Poster
Rep: Reputation: 30
Thanks for your help, i'll post in here if I run into any bumps in the road.
 
  


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
configuring squid Trio3b Linux - Security 3 12-30-2005 02:08 PM
configuring squid Faizan Linux - Networking 1 05-05-2005 12:12 PM
Configuring Squid phatboyz Linux - Software 2 02-18-2004 07:39 AM
Installing & Configuring SQUID on Linux digimart Linux - Software 0 10-26-2003 07:48 AM
configuring squid santosh Linux - Networking 5 07-31-2002 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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