1819814 Members
2712 Online
109607 Solutions
New Discussion

reverse squid proxy

 
Marco_113
Frequent Advisor

reverse squid proxy

all,
I have last squid version running on RHAS 3.0.

I want to use squid to proxy a few of back end webserver. I found out to set the following:

acl web1 dst 192.168.1.50/255.255.255.255
acl web2 dst 192.168.1.51/255.255.255.255
acl all src 0.0.0.0/0.0.0.0

http_access allow all web1
http_access allow all web2
http_access allow all

httpd_accel_host virtual
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

Then restarted squid, but when accessing web site through squid server, I get acl access denied error.

Again,
i've not an internal dns, put i put the lines in /etc/hosts on squid server.

Any suggestions??
Thanks
1 REPLY 1
Kodjo Agbenu
Honored Contributor

Re: reverse squid proxy

Hi,

To go far, I would suggest that you enable Squid logging options (var "debug_options" in squid.conf) and have a look at the access log (/var/log/squid/access.log).

It would give a beginning of explanation about the access denied error.

Good luck
Kodjo
Learn and explain...