Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-17-2007, 11:29 AM   #1
LQ Newbie
Registered: Aug 2007
Location: India
Distribution: Fedora, RedHat 4,5,6, Ubuntu,CentOS5
Posts: 17

Rep: Reputation: 0
Post Proxy Server Configuration

I have just installed OpenSuse 10.2 on one of the computers in my office containing two LAN cards one is directly connected to Internet and other is connected to company's intranet. Now I want to configure proxy server on this computer to provide Internet access to rest of the computers in the office which either run Windows 2000 professional or OpenSuse 10.2. I made following changes in squid.conf file:
> http_port 3128
> cache_mem 100 MB
> cache_swap_low 90
> cache_swap_high 95
> cache_dir ufs /var/cache/squid 100 16 256
> access_log /var/log/squid/access.log squid
> cache_log /var/log/squid/cache.log
> cache_store_log /var/log/squid/store.log
> acl intranet src
> acl extranet src
> http_access allow localhost
> http_access allow intranet
> http_access deny extranet
Then I save the file and start squid service permanently.
After that I configured one of the Windows 2000 computers to use and 3128 as proxy server address and port.
But when I tried to access Internet on this computer, I received the following error:
The proxy server is refusing connections
Try Again.
I can access the Internet on proxy server computer.
Plz tell me how should I configure squid.conf file to provide Internet access to Windows 2000 client computers.
Old 10-17-2007, 12:09 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
is squid running? do you have an iptables firewall blocking access?
Old 10-17-2007, 01:03 PM   #3
Registered: Jul 2007
Location: Ohio
Distribution: Ubuntu 7.04
Posts: 65

Rep: Reputation: 15

I recently configured my Squid server and have to tell u that I am new at this.
However, it looks like u have a few essential statements missing from squid.conf.
I may be wrong but, every documentation of squid.conf that I have encountered started with the following statements after

hierarchy_stoplist cgi-bin?
acl QUERY urlpath_regex cgi-bin\?
cache deny QUERY
cache_vary on
acl apache rep_header Server^Apache
broken_vary_encoding allow apache

Also, u may need http_acces DENY all in u ACL statement.

I hate giving you this info, because I don't really know what any of these lines mean, but do know that I have seen them in almost every squid.conf file.

I found a website that was very helpful because it has a Squid Configuration Manual that tells u what each line in the squid.conf means.

Hey, I know it is frustrating and wish u luck.
It took me 7 months, I'm not proud to say.
Hope this helps


configuration, squid

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 proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
Question of proxy server configuration bluesurfer Linux - Server 7 06-29-2007 08:28 AM
ip addressess configuration in squid proxy server raju_dhakar2002 Linux - Networking 0 05-09-2005 12:52 AM
Configuration for a client accessing a proxy server darin3200 Linux - Networking 2 01-08-2005 12:48 PM > Forums > Linux Forums > Linux - Server

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