ssl_bump server-first all
http_port 3128
http_port 3129 intercept
http_port 3130 ssl-bump intercept generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/etc/squid/ssl/bluestar.crt key=/etc/squid/ssl/bluestar.pem
iptables -t nat -A OUTPUT -p tcp -m tcp --dport 80 -m owner --uid-owner root -j RETURN
iptables -t nat -A OUTPUT -p tcp -m tcp --dport 80 -m owner --uid-owner dockeruser -j RETURN
iptables -t nat -A OUTPUT -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3129
iptables -t nat -A OUTPUT -p tcp -m tcp --dport 443 -m owner --uid-owner root -j RETURN
iptables -t nat -A OUTPUT -p tcp -m tcp --dport 443 -m owner --uid-owner dockeruser -j RETURN
iptables -t nat -A OUTPUT -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 3130
2021/02/24 01:45:17| WARNING: Forwarding loop detected for:
GET /success.txt HTTP/1.1
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: identity,gzip,deflate
Pragma: no-cache
Via: 1.1 19deb96addda (squid/4.11)
X-Forwarded-For: 172.18.0.1
Cache-Control: no-cache
Host: detectportal.firefox.com
And from firefox I see this:
WARNING: Forwarding loop detected for
SSL_ERROR_RX_RECORD_TOO_LONG
I feel like I am very close, but I'm not sure what I am missing. Does someone else know of a better way to do this? I had assumed that since I publish the ports, I should be able to redirect to them the same way I would if squid were running locally.
I would appreciate any help in figuring this out.
Thanks,
-Justin
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users