Mole is an HTTP connect tunnel powered by smokescreen
Build the docker image and tag it appropriately
$ docker build -t ghcr.io/frain-dev/mole:latest .
$ docker run -p 4750:4750 -e PROXY_PASSWORD=$PROXY_PASSWORD ghcr.io/frain-dev/mole:latest
Configure the server that wants to use the proxy by setting the HTTP_PROXY
environment variable
export HTTP_PROXY="http://IP_ADDRESS:PORT"
For all outgoing requests the Proxy-Authorization
header must be set to the value in the PROXY_PASSWORD
environment variable.