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

[FR] Add Forward HTTPS feature #839

Open
jeanseb6wind opened this issue Feb 2, 2023 · 6 comments
Open

[FR] Add Forward HTTPS feature #839

jeanseb6wind opened this issue Feb 2, 2023 · 6 comments

Comments

@jeanseb6wind
Copy link

Current behavior

Currently, in a forward configuration, you can set a forward tls with forward-tls-upstream: yes.

Describe the desired feature

I would like the same feature for HTTPS, with a feature like forward-https-upstream: yes.

Potential use-case

It would allow to pass through rule firewall in some environment.

Thanks

@gthess
Copy link
Member

gthess commented Feb 2, 2023

If bypassing the firewall is your only concern you can specify the port to forward to as forward-addr: <ip>@443. Then on the receiving side you can have your target resolver listen on port 443 as well.
This will do DNS-over-TLS (I am assuming forward-tls-upstream: yes) and both ends need to support it.

If the feature request is for upstream DNS-over-HTTPS, that is a whole new feature indeed.

@jeanseb6wind
Copy link
Author

Indeed setting the port could be a solution but will not work in practice because advanced firewall check the protocol and allows only HTTPS.

@gthess
Copy link
Member

gthess commented Feb 2, 2023

DNS-over-TLS is still encrypted traffic. Have you tried and it doesn't work on your environment?

@jeanseb6wind
Copy link
Author

HTTPS adds encapsulation that is detected by the firewall, that's why I specifically need DoH forwarding

@pemensik
Copy link
Contributor

Does that mean that is used on device with some kind of security software, which uses trusted certificate on the host and the firewall re-encrypts the original encrypted session, so it can see also the insides of encrypted channel? What would be advantage of using DoH in such environment?

@Mikaela
Copy link

Mikaela commented Jun 18, 2023

I think this is a duplicate of #308

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

4 participants