Confused about arguments: socks5 upstream
dimaqq opened this issue · comments
I'm trying to set up smth like this:
sequenceDiagram
participant LoadBalancer
participant goproxy
Note over goproxy: 0.0.0.0:8080
participant tailscale
Note over tailscale: 127.0.0.1:1055
participant remote
Note over remote: 127.0.0.1:8080
Note over tailscale, remote: tailscale VPN
LoadBalancer ->> goproxy: HTTP
goproxy ->> tailscale: SOCS5+HTTP
tailscale ->> remote: Wireguard+HTTP
It seems I can't quite figure out the right set of arguments for goproxy
.
Is this a supported configuration?
Can someone help me with command line arguments? 🙏🏻
P.S. I'm fine with either forwarding TCP "tunneling" (without unpacking app-level protocol), or HTTP "proxying" (unpack+repack). Both remote and load balancer are mine, I can configure those.