Proxy Squid连接被拒绝HTTPS

Proxy Squid连接被拒绝HTTPS,proxy,squid,Proxy,Squid,我已设法使我的HTTP“代理”连接正常工作,但在大多数https连接上,我都会遇到以下错误: 与的连接失败 系统返回:(111)连接被拒绝 这是我目前在squid中使用的配置文件: http_port 3128 refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 144

我已设法使我的HTTP“代理”连接正常工作,但在大多数https连接上,我都会遇到以下错误:

与的连接失败

系统返回:(111)连接被拒绝

这是我目前在squid中使用的配置文件:

http_port 3128

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

acl localnet src 10.0.0.0/8     # RFC 1918 possible internal network
acl localnet src 172.16.0.0/12  # RFC 1918 possible internal network
acl myhost src <myip>
http_access allow myhost
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


via off
forwarded_for off

http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow all
dns_nameservers 8.8.8.8 8.8.4.4
http_端口3128
刷新模式^ftp:1440 20%10080
刷新模式^ftp:1440 20%10080
刷新模式^gopher:1440 0%1440
刷新图形。0       20%     4320
acl localnet src 10.0.0.0/8#RFC 1918可能的内部网络
acl localnet src 172.16.0.0/12#RFC 1918可能的内部网络
acl myhost src
http\U访问允许myhost
acl SSL_端口端口443
acl安全端口80#http
acl安全端口端口21#ftp
acl安全端口端口443#https
acl安全端口端口70#gopher
acl安全端口210#wais
acl安全端口端口1025-65535未注册端口
acl安全端口280#http管理
acl安全端口488#gss http
acl安全端口591#filemaker
acl安全端口777#多行http
acl连接方法CONNECT
过马路
请你离开
http_访问拒绝!安全港口
http_访问拒绝连接!SSL_端口
http_访问允许所有
dns_名称服务器8.8.8.8.8.8.4.4
在Ubuntu 12.04 VPS上运行-通过浏览器代理设置页面远程连接


我想做的就是能够连接到我的服务器并浏览http和https站点。Http与上面的配置一起工作。。。https不会删除以下行:

http_access deny CONNECT !SSL_ports

我建议保留

http_access deny CONNECT !SSL_ports
但允许通过添加以下内容列出:

http_access allow SSL_ports