Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve to specific address over proxy #2390

Open
tahmid-23 opened this issue Aug 16, 2024 · 0 comments
Open

resolve to specific address over proxy #2390

tahmid-23 opened this issue Aug 16, 2024 · 0 comments

Comments

@tahmid-23
Copy link

I want to connect to HTTPS over a proxy using a specific IP address.
The proxy should tunnel with a specific IP address, but TLS should verify with the intended hostname.
For reference, this is possible with cURL's --connect-to flag. curl -x http://proxy.url --connect-to original.com::3.14.15.92 https://original.com

I think ideally the dns overrides set in the client builder would take precedence over the host in the url, if present, when creating a tunnel.
Does this seem ideal, or is there a better way to specify this behavior? I can write a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant