Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-15-2009, 12:31 AM   #1
LQ Newbie
Registered: May 2009
Posts: 13

Rep: Reputation: 0
How to configure squid?

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

Old 11-15-2009, 02:19 AM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

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

Old 11-15-2009, 07:55 AM   #3
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

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
acl mynetwork src
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
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, 05:59 PM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,349

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Old 11-16-2009, 03:06 AM   #5
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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


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 09:29 AM
How i configure squid ravi_kumars Linux - Networking 1 01-31-2007 01:21 PM
configure squid vathna Linux - Networking 1 01-19-2006 04:11 AM
how to configure squid lzakir Debian 1 07-06-2005 01:22 PM
To configure squid neophyte_linux Linux - Newbie 1 04-05-2005 04:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration