[GH-ISSUE #508] Confused about arguments: socks5 upstream #411

Open
opened 2026-02-27 23:16:49 +03:00 by kerem · 0 comments
Owner

Originally created by @dimaqq on GitHub (Oct 30, 2022).
Original GitHub issue: https://github.com/snail007/goproxy/issues/508

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.

Originally created by @dimaqq on GitHub (Oct 30, 2022). Original GitHub issue: https://github.com/snail007/goproxy/issues/508 I'm trying to set up smth like this: ```mermaid 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#411
No description provided.