ghostunnel icon indicating copy to clipboard operation
ghostunnel copied to clipboard

Add support for backend server proxy connections

Open mhrabovcin opened this issue 4 years ago • 2 comments

mhrabovcin avatar Mar 22 '21 15:03 mhrabovcin

I've found that this PR wouldn't be sufficient to resolve target DNS record over socks5 proxy. I'll provide a PR update that uses a proxy dialer to resolve the address.

mhrabovcin avatar Mar 22 '21 16:03 mhrabovcin

Thank you for the contribution @mhrabovcin! How does this interact with the existing --connect-proxy flag? Could this same env var be used for an HTTP(S) CONNECT proxy as well? If so I'm thinking we could unify the SOCKS and CONNECT proxy stuff so it works consistently with the same env vars and/or flags.

csstaub avatar Mar 23 '21 06:03 csstaub

Hello @csstaub and sorry for late response. My understanding is that --connect-proxy is a client flag that uses HTTP CONNECT feature (L7). Accepting the patch in this PR would have no implication on --connect-proxy behavior.

Do you have a specific behavior that you'd like to see in order to get this feature accepted?

mhrabovcin avatar Dec 19 '23 12:12 mhrabovcin