YunoHost-Apps / adguardhome_ynh

AdGuard Home package for YunoHost: Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
14 stars 12 forks source link

enable DOH/DOQ using Let's Encrypt certs out of the box #154

Closed OniriCorpe closed 1 month ago

OniriCorpe commented 6 months ago

Problem

Solution

is someone OK to test this?

PR Status

TODO

Current state

For the package

For AdGuard Home itself

A screenshot of the AdGuard Home front-end, showing the "Encryption settings", with all things validated

OniriCorpe commented 1 month ago

Eeeh that’s weird because yesterday I was debugging this shit using my old android phone and I checked this …

my instance is configured with: TLS: 853 QUIC: 784

with the same ports in the package settings and the app settings

DoT is working while I’m testing it with my PC, but the Android phone refuses it

Thovi98 commented 1 month ago

Tried the upgrade yesterday, had the exaxt same issue as @tituspijean and after applying his suggestions it works! Android 12

Congrats and thanks for all your work here @OniriCorpe!

OniriCorpe commented 1 month ago

it's: weird 🙃

Ddataa commented 1 month ago

Thanks a lot for your work on this app OniriCorpe !!

I have tested in one server (local RPI) but still have to do in the main one (VPS exposed to internet)

"But since since YunoHost can't handle wildcard domain names" have you find out why and how ?

OniriCorpe commented 1 month ago

"But since since YunoHost can't handle wildcard domain names" have you find out why and how ?

I know it because I'm beginning to know the system pretty well And I'm also part of the core team ^w^

You can take a look at the corresponding issue here: https://github.com/YunoHost/issues/issues/2089

Ddataa commented 1 month ago

thanks for the details of the issue, I didnt mean more than that & I know how valuable you are to the community :)

OniriCorpe commented 1 month ago

it's: weird 🙃

i found why the Private DNS setting on Android was working on local but on another network....... it was because my whitelist only contained my local IP ranges lmao

it's working fine if i deactivate my allowlist!

OniriCorpe commented 1 month ago

i think the release is ready, at last to merge in testing branch ^w^

poke @Ddataa

it's lacking android docs and french translations but eh

tituspijean commented 1 month ago

@OniriCorpe if you wish I can add some docs for Android. ;)

Edit: Maybe it's not worth it, there's already an included guide in the app at __DOMAIN____PATH__/#guide

~~Edit²: I have just noticed that DoT requests appear to be coming from the router, not the actual client: image (192.168.1.254 being my router)~~ that's normal, the wildcard domain thingy is needed :)

OniriCorpe commented 1 month ago

@OniriCorpe if you wish I can add some docs for Android. ;)

Edit: Maybe it's not worth it, there's already an included guide in the app at __DOMAIN____PATH__/#guide

maybe documenting this could be useful to permit the ClientID usage on Android ?

Intra adds DNS-over-HTTPS support to Android

yunohost-bot commented 1 month ago

:sunflower: Test Badge

OniriCorpe commented 1 month ago

I have to fix the “upgrade from ancient version” bug

yunohost-bot commented 1 month ago

:sunflower: Test Badge

yunohost-bot commented 1 month ago

:books: :bug: Test Badge