wireproxy connects to a WireGuard peer and exposes SOCKS5 or HTTP CONNECT proxy and tunnel ports without creating a system VPN interface.
Overview
wireproxy runs entirely in userspace, dialing a WireGuard configuration and forwarding selected traffic through SOCKS5 or HTTP proxies or static tunnels. It suits cases where only a browser or subset of traffic should use the tunnel while avoiding root access to manage kernel WireGuard interfaces.
TCP static routing is supported for clients and servers, and multi-peer configs use AllowedIPs to choose forwarding targets. Peers may also accept inbound connections when configured.
Optional health endpoints expose metrics and readiness checks over HTTP, pinging addresses through the tunnel to detect stale sessions. Configuration can import standard wg-quick style peer blocks.
A fork exists for Amnezia VPN users who need similar behavior on that network.
Key features
- SOCKS5 and HTTP CONNECT proxy
- Userspace WireGuard tunnel
- Multi-peer routing rules
- Health and metrics HTTP endpoints
- Import from wg config files
Use cases
- Per-browser VPN routing
- WireGuard without admin rights
- Selective tunnel for remote sites