/homeproxy-docker

A proxy services container squid and tor, privoxy

Primary LanguageCSS

Proxy service powered by Squid + Privoxy + Tor

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

Quick start

  1. Clone this repository

  2. Copy the homeproxy.env to the destination folder(e.g. /homeproxy), change the filename to homeproxy.prod

  3. Update the content of the homeproxy.prod(dev) file

SERVICE_DESTINATION=/homeproxy
  1. Run sync_deployment.sh
# ./sync_deployment.sh -c /homeproxy/homeproxy.prod
  1. Setup the password file in the destination folder(e.g. /homeproxy/etc/squid/passwords)
# ./htpasswd.sh username password > /homeproxy/etc/squid/passwords
  1. 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.