Skip to content

This image runs a WireGuard connection and exposes it via a Socks5 proxy.

License

Notifications You must be signed in to change notification settings

baby9/wg2socks-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Expose WireGuard as a SOCKS5 proxy in a Docker container.

Usage

Replace your wireguard config file path in /path/to/your/wg.conf

docker run -d \
    --restart=unless-stopped \
    --name=wg2socks \
    --privileged \
    -v /path/to/your/wg.conf:/wg0.conf:ro \
    -p 1080:1080 \
    zenexas/wireguard-client-socks

SOCKS5 proxy server will be listening at port 1080.



Connect to your socks5 proxy. For example:

curl -s -x socks5://127.0.0.1:1080 https://ipinfo.io

About

This image runs a WireGuard connection and exposes it via a Socks5 proxy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published