LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-15-2009, 01:31 AM   #1
lovingaditya28
LQ Newbie
 
Registered: May 2009
Posts: 13

Rep: Reputation: 0
How to configure squid?


Hi,
i am new to linux, can some one guide me how to configure SQUID sa my Internet Gateway.
My internal Network ID is 192.168.2.0/24.
Please provide me any easy to use document. i am trying to configure it on Fedora 10.

Regards,
Pankaj
 
Old 11-15-2009, 03:19 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ!

I split your post out of the unrelated thread on cron & scripting.
Please do not hi-jack other peoples threads.



Cheers,
Tink
 
Old 11-15-2009, 08:55 AM   #3
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 297

Rep: Reputation: 62
For a very basic setup you need to edit the file /etc/squid/squid.conf and add two lines. First search for the second occurance of "Recommended minimum configuration and add an acl for your network below the acl CONNECT method CONNECT line
Code:
acl mynetwork src 192.168.2.0/24
Then search further down the configuration file for the line containing INSERT YOUR OWN RULE(S) HERE. Add the following line above the localhost access rule
Code:
http-access allow mynetwork
Restart the squid service. Set your browser to use port 3128 on localhost and try going to an external website.
 
Old 11-15-2009, 06:59 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Try
http://www.brennan.id.au/11-Squid_Web_Proxy.html
http://www.squid-cache.org/
 
Old 11-16-2009, 04:06 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
A simple transprent proxying with squid how to. Just a few steps.
 
  


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
Help me to configure Squid sudheshpn Linux - Server 3 08-27-2008 10:29 AM
How i configure squid ravi_kumars Linux - Networking 1 01-31-2007 02:21 PM
configure squid vathna Linux - Networking 1 01-19-2006 05:11 AM
how to configure squid lzakir Debian 1 07-06-2005 02:22 PM
To configure squid neophyte_linux Linux - Newbie 1 04-05-2005 05:50 PM


All times are GMT -5. The time now is 10:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration