A simple (and fragile) Dockerfile for launching an authenticated squid proxy. In this fork I edited the configuration to hide client ip The user must specify authentication credentials via the following environment variables:
SQUID_USERNAME=foo
SQUID_PASSWORD=bar
An example invocation would be:
docker run -e SQUID_USERNAME=foo -e SQUID_PASSWORD=bar -p 3128:3128 abdelazim/squid-authenticated-hide-ip
- SQUID_USERNAME
- SQUID_PASSWORD
- 3128
/var/log/squid3
- Output logs to stdout.
- The range of authentication options could be expanded through more configuration options.
- Supply a full configuration file that has been well considered instead of hacking up Ubuntu's defaults.