【发布时间】:2017-10-10 15:11:37
【问题描述】:
我在 192.168.40.19 中有一个 PROXY SQUID3,在 192.168.40.1 中有一个防火墙 mikrotik。 mikrotik 具有以下 nat 规则:
Chain: dsnat
Src. Address: 192.168.40.174 (FOr test purpose)
Protocol: 6(tcp)
Dst.Port: 80
In. Interface: ether4
Action: redirect
To Ports: 8787 (My WebProxy port in mikrotik)
我也有一个 HTTPS 端口的规则:
Chain: dsnat
Src. Address: 192.168.40.174 (FOr test purpose)
Protocol: 6(tcp)
Dst.Port: 443
In. Interface: ether4
Action: redirect
To Ports: 8787 (My WebProxy port in mikrotik)
我在 Mikrotik 中有一个使用父代理 SQUID 的 WebProxy,请参阅配置:
在 squid3 中,我使用 squid.conf 来允许所有:
http_access allow all
cache deny all
# Squid normally listens to port 3128
http_port 3128
我可以在 access.log 文件中看到 HTTP 访问的日志,但是当有人访问 HTTPS 站点时,日志不会出现在 SQUID 中。 IE:访问 https://stackoverflow.com 不会出现在 squid 中,但访问没有 HTTPS 的任何其他站点,工作正常。
【问题讨论】: