1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00
dockerfiles/wireproxy
2024-04-22 16:56:56 +08:00
..
data add wireproxy 2024-04-18 17:50:02 +08:00
docker-compose.yml add wireproxy 2024-04-18 17:50:02 +08:00
Dockerfile add wireproxy 2024-04-18 17:50:02 +08:00
README.md update wireproxy 2024-04-22 16:56:56 +08:00

wireproxy

wireproxy is a completely userspace application that connects to a wireguard peer, and exposes a socks5/http proxy or tunnels on the machine.

$ docker compose up -d
$ curl -x socks5h://127.0.0.1:1080 ipinfo.io
$ curl -x 127.0.0.1:3128 ipinfo.io
$ curl 127.0.0.1:9080/metrics

Click here to get a free wireguard account.

You can run a self-hosted wireguard server quickly with mitmproxy

$ mitmdump --mode wireguard --flow-detail 4
... client connect
... DNS QUERY (A) ipinfo.io
... << 34.117.186.192
... client connect
... server connect 34.117.186.192:80
... GET http://34.117.186.192/
... << 200 OK 254b
... client disconnect
... server disconnect 34.117.186.192:80