Instaling Cow proxy on docker (ubuntu 20.4)

What is Cow Proxy ?

COW (Climb Over the Wall) proxy on Docker

Cow Proxy is a web proxy backed by tunnel technology. Like VPN, it hides your IP address and encrypt your traffic, but a lot easier to use.





Make a Dockerfile and Add these Variables

					FROM alpine
RUN apk update && apk add curl && apk add bash
#installing Cow Proxy
RUN curl -s -L | bash 

EXPOSE 7777/tcp


3- Make a docker-compose.yml and Paste following Parameter :

					version: "3"
    build: .
    image: cow-proxy:1
      - "8585:7777"
      - "./config-file:/root/.cow/rc"
    restart: always


3- Make a Config File that includes your Proxy User nad password

					listen =

logFile = /dev/stderr

userPasswd = user:pass


Client Side Config

Proxy setting for  your Linux

For setting up proxy settinf for yor Current User You need just to Set these Enviornment (You can do it in Terminal to but that way is not Permanent)

vim ~/.bash_profile

exprot no_proxy=localhost,, *.my.lan
You can Test your Proxy Functionality by Doing Curl with –proxy you need to receive 200 Response  code
					for ((i=1;i<=10;i++)); do curl -I --proxy  http://user:password@YOUR_PROXY_IP:8585 -vv; done
You can Clone whole Project from my Github Repository

Leave a Comment