無法透過 Squid 代理程式存取本機主機

無法透過 Squid 代理程式存取本機主機

我已經在本地電腦上設定了一個squid在連接埠 3128 上運行的代理伺服器。在 Firefox 上,我設定 FoxyProxy (127.0.0.1:3128) 並嘗試存取 127.0.0.1 但它沒有回應。我/etc/squid/squid.conf得到:

acl localnet src 10.0.0.0/8
acl localnet src 192.168.0.0/16 
#http_access deny !Safe_ports #intentionally commented this line
#http_access deny CONNECT !SSL_ports #intentionally commented this line
http_access allow localnet
http_access allow localhost
http_port 3128

我還注意到魷魚access.log是 0 字節,這意味著(我猜)請求甚至沒有到達魷魚。我在這裡可能會缺少什麼?謝謝。

答案1

據我所知,localhost和127.0.0.1在例外列表中(選項,高級,網絡,設定中沒有...的代理)嘗試刪除它們!

相關內容