-
Pass it a wireguard config, set the desired localhost port, run and enjoy a socks5 proxy through wireguard tunnel
-
Can run multiple instances on multiple ports through multiple wireguard tunnels. Check example
-
Note that wireguard configs MUST have
DNS
field. Otherwise this did not work and I am yet to spend more time investigating
- Copy over example/ folder
- Populate
configs/
with wireguard client configs - Update docker-compose.yml:
- add a service per each wg config
- set unique name
- set unique host port
- set correct conf to mount
docker-compose up -d
- verify:
curl --socks5-hostname 127.0.0.1:1081 https://ifconfig.co
- Currently the only public image on dockerhub is for
arm64
architecture. So if you're on other architectures - just build the image yourself.