iloveitaly / squid-proxy

Docker image for a Squid forward proxy with authorization (fully anonymous)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker Docker Cloud Automated build License

This Docker image helps you start your own Squid proxy server, with HTTP Basic authorization. You may need this if you want your crawling/scaping software to look like constantly going to the Network from the same IP address. You rent a VPS, start a Squid server there and configure your software to go everywhere through an explicit HTTP(S) proxy.

When Docker is installed, run this:

$ docker run --name proxy --detach --restart=always --publish 8081:3128 \
  --env USERNAME=jeffrey --env PASSWORD=swordfish \
  yegor256/squid-proxy

Now you can connect to localhost:8081 with jeffrey:swordfish credentials.

BTW, the proxy is anonymous. Once it's up and running, you can check whether it's visible, here. It also doesn't store any logs and doesn't cache any content.

About

Docker image for a Squid forward proxy with authorization (fully anonymous)

License:MIT License


Languages

Language:Dockerfile 52.0%Language:Shell 48.0%