Search squid archive

How to proxy a parent Squid SSL proxy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Everybody!

I have a Squid ssl proxy server(3.0.16Stable) running listening 8443.
Now I want to set up another Squid to proxy it again with SSL between
them.
The second Squid serves http requests to browsers.

Now I use my browser and try to connect the second Squid, it won't work.

I made self-signed certificates for the first Squid.

Could you please help me out the the squid.conf as following:

################################################################
cache_peer proxy.website.com parent 8443 0 no-query originserver name=b2

sslproxy_flags DONT_VERIFY_PEER


hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache_mem 128 MB
cache_dir diskd /usr/local/squid/cache 20000 64 256
debug_options ALL,1

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320

acl proxy.website.com dstdomain proxy.website.com


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 my_ports port   8080

acl Safe_ports port 3128                # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
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  proxy.website.com


http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !my_ports
http_access allow all
http_access deny all
http_reply_access allow all

cache_peer_access b2  allow proxy.website.com

visible_hostname second.website.com
.....


I deleted some options which are not the trouble.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux