Skip to content

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

License

Notifications You must be signed in to change notification settings

ruairinewman/squid-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

First, you pull it:

$ docker pull yegor256/squid-proxy:0.1

Then, you run it:

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

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.

Here is how you install Docker.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 83.3%
  • Shell 16.7%