LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-07-2006, 07:48 AM   #1
utw-mephisto
Member
 
Registered: Apr 2005
Posts: 93

Rep: Reputation: 16
Squid configuration


I was asked to install a proxy on one of our Linux server. Since we used hardware solutions until now, I am quite new in that. I tried to read several documentations but I am still lost.

Here is what I need to do :

We have server 192.168.100.1 which has squid installed. I need to configure the proxy so that

192.168.100.100 can only be accessed throught that proxy. An authentication is necessary. Port of proxy needs to be changed to 7779

So that people have to put in their browser the proxy address 192.168.100.1 including user / password

to access .100

COuld someone PLLEEEEASE give me a hint here ?
 
Old 09-07-2006, 12:38 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
i'd suggest you did some background reading on squid, as this is really basic stuff, and the squid.conf file details any step you need. essentially you would define an ip acl in the config file which references the destination server, then use the http_access directive to permit access to it, and presumably nothign else (via an http_access deny all at the end of the list). you may just want to look at using webmin to configure this kind of thing for you, as it does simplify it further still. the config file can look a little daunting, but really it's fairly simple when you reliase you don't care about 95% of it. bear in mind also what you have described can be interpreted quite a few ways. all you've told us about your architecture is that it contains two machines in it somewhere. where is your userbase relativee to the proxy and the server etc... also what kind of authentcation do you want? ntlm authentication into AD (for example) is possible, but my knowledge of it is that it's pretty horribly and invloves a lot of samba. a local passwd lookup is a doodle though. id' really recommend you ask for specific answers to specific questions where possible. but yeah... webmin.
 
  


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
Squid Configuration SBN Linux - Software 14 08-07-2006 07:29 PM
squid configuration spsinghs Linux - Networking 1 03-02-2006 03:07 AM
Squid: special configuration for remote Squid server hamish Linux - Software 0 12-06-2005 03:58 PM
squid configuration karan101 Linux - Networking 7 02-01-2005 03:49 AM
Squid configuration ematogo Linux - Networking 8 12-31-2002 12:22 PM

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

All times are GMT -5. The time now is 04:42 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration