Use squid to build a transparent proxy

Original link: E6%98%8E%E4%BB%A3%E7%90%86/



The difference between squid’s transparent proxy and forward proxy is that

  1. Transparent proxy does not need to configure the proxy address on the client, just change your gateway to the squid server address
  2. The transparent proxy needs to configure iptables to transfer the access of port 80 to the port of squid

Although squid’s transparent proxy can also proxy https requests, it needs to configure a certificate, and the user experience is not very good, so the request of port 443 should be forwarded normally.

This article is reprinted from: E6%98%8E%E4%BB%A3%E7%90%86/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment

Your email address will not be published.