samuelmoraesf/protonvpn-proxy

By samuelmoraesf

Updated 2 months ago

SOCKS5 proxy through ProtonVPN via wireproxy — no privileged containers needed

Image
Networking
Security
0

906

samuelmoraesf/protonvpn-proxy repository overview

protonvpn-proxy

A lightweight Docker image that runs a SOCKS5 proxy through ProtonVPN using wireproxy. Fully userspace — no privileged containers or host network changes required.

How it works

The container takes your ProtonVPN WireGuard credentials, generates a wireproxy config at startup, and exposes a SOCKS5 proxy on port 1080.

Usage

docker run -d \
  -p 1080:1080 \
  -e WG_PRIVATE_KEY="your-private-key" \
  -e WG_PEER_PUBLIC_KEY="peer-public-key" \
  -e WG_ENDPOINT="149.102.251.97:51820" \
  samuelmoraesf/protonvpn-proxy

Then configure your application to use socks5://localhost:1080.

Getting WireGuard credentials
  1. Go to ProtonVPN WireGuard config
  2. Generate a WireGuard configuration
  3. Copy the PrivateKey, peer PublicKey, and Endpoint values

Environment variables

VariableRequiredDescription
WG_PRIVATE_KEYYesYour WireGuard private key
WG_PEER_PUBLIC_KEYYesProtonVPN peer public key
WG_ENDPOINTYesProtonVPN server endpoint (e.g. 149.102.251.97:51820)

Multi-arch

Pre-built images are available for linux/amd64 and linux/arm64.

Tag summary

Content type

Image

Digest

sha256:07101d57a

Size

7.4 MB

Last updated

2 months ago

docker pull samuelmoraesf/protonvpn-proxy:114790c