Squid 2.6 Reverse Proxy from Squid(3128) to OrginServer(80) Not working
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am trying to setup a server mesasvr03 with SQUID 2.6STABLE20 to be a RP for my web server: mesasvr01.
I would like to get the configs off Port 80 as much as possible so that I can confirm this translation does indeed work.
I am currently using these settings in squid.conf...
Please see below...
Can some one show me how to make the changes such that I can have a Port Translation between say: mesasvr03:3128 ==RP==> mesasvr01:88
I tried the changes:
http_port mesasvr03.domain.com:3128 accel defaultsite=mesasvr03.domain.com
cache_peer 10.143.108.25 parent 88 0 no-query originserver name=myAccel login=PASS
However, squid kept forwarding it back to Port 80.
Currently, this config works only if I use for Port 80.
With Regards, Raj
------- Begin -------
-bash-3.00$ cat squid.conf
cache_effective_user squid
cache_effective_group squidadm
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
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 CONNECT method CONNECT
http_access allow manager
#http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#http_access deny all
icp_port 0
icp_access allow all
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
url_rewrite_host_header on
#always_direct allow all
coredump_dir /usr/local/squid/var/cache
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.