Skip to content

dennislapchenko/wg-socks-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wireguard socks proxy

  • 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

Running

  1. Copy over example/ folder
  2. Populate configs/ with wireguard client configs
  3. Update docker-compose.yml:
  • add a service per each wg config
  • set unique name
  • set unique host port
  • set correct conf to mount
  1. docker-compose up -d
  2. verify: curl --socks5-hostname 127.0.0.1:1081 https://ifconfig.co

Known issues

  • Currently the only public image on dockerhub is for arm64 architecture. So if you're on other architectures - just build the image yourself.

About

Socks5 proxying via containerised wireguard tunnels

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published