Transparent Proxy Flow / Raspberry Pi gateway

OutboundReturn
iptables → redir :7892 (TCP) · TPROXY (UDP) transparentWireGuardHTTPS / TLS
Raspberry Pigateway docker-compose
LAN client
transparent · inside LAN
WireGuard
remote → wg0 · PiVPN
NaïveProxy server
VPS · HTTPS / TLS
Internet
destination
Clash:7892 · rules + LB
naive-1socks5 :1081
naive-2socks5 :1082
Pi-HoleDNS · wg0 / eth0
LAN devices and remote WireGuard clients enter the Pi; Clash redirects and fans traffic out to naive-1 / naive-2, which each tunnel over HTTPS to the NaïveProxy server on a VPS.