I use proxies very often as a way to do split tunneling on Linux, as easy split-tunneling with WireGuard or OpenVPN isn’t there yet.
The quickest way to set up anything IMO is with docker, and here is a quick guide for squid proxy setup using the official Ubuntu-squid image, which seems to be the only up-to-date docker image on Docker hub.
docker-compose.yml
|
|
I used configs to prevent any permission issues popping up.
squid.conf
|
|
This is a simple setup for a local transparent proxy, it allows all connections, and it doesn’t cache or log anything.
sources
https://medium.com/setup-a-web-proxy-server-with-docker-d5c6942b5575