Hi all,
i still unable to run forward & reverse proxy togather, after i config the
squid.conf to forward & reverse proxy setting, my users browse to any
website also point back to my web server. Please help ... below is my
setting of squid.conf.
Example:
my Squid version is 2.6 STABLE5
the port for proxy i used is 81
my backend website www.example.com
my backend website internal IP address: 192.168.1.5
my proxy server internal IP address: 192.168.1.1
my proxy server External IP address: 123.123.123.123
#setting from my squid.conf
http_port 81
http_port 80 vhost vport
cache_peer 192.168.1.5 parent 80 0 no-query originserver
cache_dir ufs /var/cache/squid 500 16 256
acl all src 0.0.0.0/0.0.0.0
acl locallan src 192.168.1.0/255.255.255.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
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl localweb srcdomain .example.com
http_access allow localweb
http_access allow locallan
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
http_reply_access allow all
-----------------------------------
Thank you
Regards,
Kenny