A secure proxy(HTTP) server powered by Docker compose, it includes Squid, Privoxy and Tor.
Three containers,
- Squid as the HTTP proxy, the configuration does NOT have any disk cache
- Privoxy used as proxy bridge to Tor
- Tor
-
Clone this repository
-
Copy the homeproxy.env to the destination folder(e.g. /homeproxy), change the filename to homeproxy.prod
-
Update the content of the homeproxy.prod(dev) file
SERVICE_DESTINATION=/homeproxy
- Run sync_deployment.sh
# ./sync_deployment.sh -c /homeproxy/homeproxy.prod
- Setup the password file in the destination folder(e.g. /homeproxy/etc/squid/passwords)
# ./htpasswd.sh username password > /homeproxy/etc/squid/passwords
- Start the proxy service
# /homeproxy/bin/start.sh
Or start as daemon,
# /homeproxy/bin/start.daemon.sh
The proxy service is listen at port 3128 and you might setup the port forward in the load balancer or router to public the proxy service.
Enjoy it.