https://github.com/frain-dev/mole
Mole is an HTTP connect tunnel powered by smokescreen
https://github.com/frain-dev/mole
Last synced: 12 months ago
JSON representation
Mole is an HTTP connect tunnel powered by smokescreen
- Host: GitHub
- URL: https://github.com/frain-dev/mole
- Owner: frain-dev
- Created: 2022-11-10T16:27:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-16T20:16:11.000Z (over 2 years ago)
- Last Synced: 2025-01-13T17:18:51.545Z (about 1 year ago)
- Language: Go
- Size: 15.6 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mole
Mole is an HTTP connect tunnel powered by smokescreen
## Install
Build the docker image and tag it appropriately
```bash
$ docker build -t ghcr.io/frain-dev/mole:latest .
```
## Run
```bash
$ docker run -p 4750:4750 -e PROXY_PASSWORD=$PROXY_PASSWORD ghcr.io/frain-dev/mole:latest
```
## Configuration
Configure the server that wants to use the proxy by setting the `HTTP_PROXY` environment variable
```bash
export HTTP_PROXY="http://IP_ADDRESS:PORT"
```
## Usage
For all outgoing requests the `Proxy-Authorization` header must be set to the value in the `PROXY_PASSWORD` environment variable.