2017-10-10 63 views
0

我在192.168.40.19有一個PROXY SQUID3,192.168.40.1有一個防火牆mikrotik。該的MikroTik有以下NAT規則:squid3沒有從mikrotik獲得HTTPS請求

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一個WebProxy,請參見配置:

enter image description here

在魷魚3我使用squid.conf來允許所有:

http_access allow all 
cache deny all 

# Squid normally listens to port 3128 
http_port 3128 

我可以在access.log文件中看到HTTP訪問的日誌,但是當有人訪問HTTPS站點時,LOG不會在SQUID中顯示。 I.E:訪問https://stackoverflow.com不在魷魚apper,但訪問任何其他網站沒有HTTPS,工作正常。

回答