推 dustinw: 因為你只把目標是port 80的流量導到 Proxy , https預設 01/05 18:24
→ dustinw: 用 port 443 01/05 18:24
我現在改成下面這樣,把80和443都導到squid,
iptables -t nat -A PREROUTING -i eth2 -s 10.0.10.0/24 -p tcp --dport 80 -j
REDIRECT --to-ports 3128
iptables -t nat -A PREROUTING -i eth2 -s 10.0.10.0/24 -p tcp --dport 443 -j
REDIRECT --to-ports 3128
但現在變成,http://tw.yahoo.com 和 https://tw.yahoo.com 雖然都可以擋掉
但是其他的 https 網站也被擋掉了,但是照我squid的設定,我只有擋yahoo的而已
不知道為什麼squid把所有網站的port 443都擋掉了
※ 編輯: ken1325 (140.116.247.76), 01/05/2016 20:13:56
推 dustinw: 建議你把完整的iptable 設定以及squid acl 貼出來,比較 01/05 23:15
→ dustinw: 好抓問題。 01/05 23:15
→ dustinw: ml 01/05 23:23
推 dustinw: Squid不支援 https的 transparent proxy 。 01/05 23:25
→ ken1325: 謝謝,我再測試看看 01/06 04:22
→ danny8376: squid可以做https的通透啊 只是目前沒動態簽證 01/06 21:53
→ danny8376: 所以一定會跳警告 01/06 21:53