Docker container that exposes an HTTP proxy that pushes all traffic through Surfshark VPN
NOTE: The project is still in progress. A lot of things need improvements...
The container can be configured with the following environment variables.
Name | Required | Description |
---|---|---|
SURFSHARK_USERNAME | True | Surfshark username |
SURFSHARK_PASSWORD | True | Surfshark password |
CONNECTION_TYPE | False | Connection type (TCP or UDP) - defaults to: UDP |
When the container is up and running you can connect to the HTTP server running on: http://127.0.0.1:8888
# start the container
docker-compose up surfshark-proxy -d
curl --proxy http://127.0.0.1:8888 https://ipinfo.io/ip