LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-30-2007, 11:14 AM   #1
jonette20
Member
 
Registered: Jul 2007
Location: Ohio
Distribution: Ubuntu 7.04
Posts: 65

Rep: Reputation: 15
Configuring Squid as web proxy


Hi,
This is my first posting so please bear with me.
Trying to setup a web proxy inside existing firewall.
Installed Squid 2.6STABLE14, configured to test, and thought I was on my way.
Made some changes to squid.conf and tried to restart.
Now it is grabbing Squid 2.4STABLE7 from somewhere, and I have more errors than before. I'm guessing that possible versions changes may be causing my errors, but I don't know where this version came from. I did not install it previously and I'm the only one working on Squid.

I'm running REDHAT 8.0 2.4ver18-14 if that helps. Is Squid installed by default in REDHAT?

I know I will have alot more questions, but I have to address this first.

Thanks in advance for any help,
jonette20
 
Old 07-30-2007, 03:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it is "grabbing" squid 2.4?? what does that mean?? if you have errors, please don't just tell us they exist, show us what they are, along with your squid.conf file.
 
Old 07-31-2007, 10:45 AM   #3
jonette20
Member
 
Registered: Jul 2007
Location: Ohio
Distribution: Ubuntu 7.04
Posts: 65

Original Poster
Rep: Reputation: 15
Configuring Squid as web proxy

Hi,
My goal is to have the clients connect to the Squid system for web request.
Squid sends the request thru the firewall.
Would like to have Squid allow access to a list of limited sites. etc.courthouse, auditor
The version of Squid that I installed is 2.6STABLE14 but 2.4STABLE7 runs instead.
I don't know if my errors are because the squid.conf is wrong or it's confused with version.
Both is my guess.

This is the output for my squid.conf file.

http_port 3128
htcp_port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache_vary off
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_dir ufs /usr/local/squid/var/cache 100 16 256
access_log /var/log/squid/access.log squid
cache_log /usr/local/squid/var/logs/cache.log
pid_filename /usr/local/squid/src/squid-2.6.STABLE14/log
#ftp_user brewer@elyriapolice.org
hosts_file /etc/hosts
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 # https
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow to_localhost
acl epd src 10.1.1.10 10.1.1.150/24
http_access allow localhost
http_access allow epd
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr brewer@elyriapolice.org
cache_effective_user squid
cache_effective_group squid
visible_hostname Pixfirewall@epd.internal.epd.org
httpd_accel_host virtual
httpd_accel-host_port 80
httpd_accel_with_proxy on
httpd_accel_use_host_header on
always_direct allow all
coredump_dir /usr/local/squid/var/cache
[root@SERVG10 root]#

I'm just trying to get it started for testing. No browser settings or anything have been configured.
Also, would like to set it up without cache, if possible.
Thanks in advance for any help or ideas.
I'm sinking here.
jonette20
 
  


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 Outlook Express through squid proxy kaebsh Linux - Networking 2 04-11-2007 02:31 AM
outlook express not working after configuring squid proxy deepak rawat Linux - Networking 3 06-13-2006 01:24 AM
Configuring tranparent proxy with squid and iptables usmanmehmood Linux - Networking 4 09-24-2005 05:57 AM
How to benchmark Squid web proxy? geraldomanaus Linux - Software 0 03-17-2005 06:43 AM
configuring squid for ftp proxy? sparsh Linux - Software 0 04-09-2003 08:02 AM

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

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