LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-17-2007, 11:29 AM   #1
pankaj_garg
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 192.168.64.0/255.255.248.0
> acl extranet src 192.168.0.0/255.255.255.0
> 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
192.168.64.15 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
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
is squid running? do you have an iptables firewall blocking access?
 
Old 10-17-2007, 01:03 PM   #3
jonette20
Member
 
Registered: Jul 2007
Location: Ohio
Distribution: Ubuntu 7.04
Posts: 65

Rep: Reputation: 15
Hi,

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

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. www.visolve.com

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


Reply

Tags
configuration, squid



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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