mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
…
|
||
---|---|---|
.. | ||
data | ||
docker-compose.yml | ||
Dockerfile | ||
README.md |
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