🌎 A proxy server using WireGuard as upstream
10K+
A HTTP & SOCKS proxy server in standalone/nested Wireguard
Mount wg0.conf into config/
services:
wgproxy:
image: cwlu2001/wgproxy:latest
container_name: wgproxy
restart: unless-stopped
ports:
- 8888:8888
- 1080:1080
volumes:
- /path/to/wg0.conf:/config/wg0.conf
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.ip_forward=1
- net.ipv4.conf.all.src_valid_mark=1
TLDR: HTTP/SOCKS proxy → wg1 (inner) → wg0 (outer) → Internet
Mount wg0.conf, wg1.conf into config/
services:
wgproxy:
image: cwlu2001/wgproxy:latest
container_name: wgproxy
restart: unless-stopped
ports:
- 8888:8888
- 1080:1080
volumes:
- ./config:/config/
cap_add:
- NET_ADMIN
environment:
- WG_NESTED=1 # Enable nested wireguard
sysctls:
- net.ipv4.ip_forward=1
- net.ipv4.conf.all.src_valid_mark=1
| Key | Default | Options | Description |
|---|---|---|---|
HTTP | 1 | 1, 0 | Enable HTTP proxy |
SOCKS | 1 | 1, 0 | Enable SOCKS proxy |
WG_NESTED | 0 | 1, 0 | Enable nested Wireguard |
Content type
Image
Digest
sha256:741f0e897…
Size
7.2 MB
Last updated
5 months ago
docker pull cwlu2001/wgproxy