LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 12: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, 02:19 AM   #2
Tinkster
Moderator
 
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.



Cheers,
Tink
 
Old 11-15-2009, 07:55 AM   #3
fpmurphy
Member
 
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
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, 05:59 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Try
http://www.brennan.id.au/11-Squid_Web_Proxy.html
http://www.squid-cache.org/
 
Old 11-16-2009, 03:06 AM   #5
linuxlover.chaitanya
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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:49 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
Open Source Consulting | Domain Registration