AdGuard customize .yaml file

Started by zzzkeil, February 23, 2025, 06:36:04 PM

Previous topic - Next topic
Hi,
have someone a running customized AdGuard setup with modifications to the AdGuardHome.yaml file?
So if I change the password and insert a self singed cert ( certificate_chain and private_key ) and so on, will this work  or  is this not the way we can do this on opnsense?

( opnsense 25.1.1 – home environment, private use )

Thanks

Assuming you mean the plugin from mimugmail's community repo; that plugin does not manage AdGuardHome.yaml, you would have to either edit the file or(/and) use the AGH WebUI. OPNense won't clobber it - it doesn't really even know that it exists. It also won't back it up for you, so you need to take care of that yourself too.

February 24, 2025, 01:37:41 PM #2 Last Edit: February 24, 2025, 01:39:15 PM by gspannu
Quote from: zzzkeil on February 23, 2025, 06:36:04 PMHi,
have someone a running customized AdGuard setup with modifications to the AdGuardHome.yaml file?
So if I change the password and insert a self singed cert ( certificate_chain and private_key ) and so on, will this work  or  is this not the way we can do this on opnsense?

( opnsense 25.1.1 – home environment, private use )

Thanks

Yes, AdGuardHome.yaml can be configured to your hearts content... not an issue. The AGH implementation in OPNsense is no different than AGH anywhere else. The plugin is just a service wrapper.

What are you trying to do with the certs within AGH? Run as DoT/DoH/quic server?

- Please explain what you are trying to achieve, and maybe I could assist?

Hi, @dseven and @gspannu thanks for your answers.
I´m use mimugmail-single.conf for AdGuard
My concern was, if opnsense or some script regularly checks, overwrite or do something else with the file.
But like you wrote, editing manual or with the WebUI works nice.
I made manual changes yesterday evening, and everything works so far.
(changes like: password, ssl 4 webui, bind ip port.)

My question was answered.
Thanks a lot.

Quote from: zzzkeil on February 24, 2025, 06:14:39 PMHi, @dseven and @gspannu thanks for your answers.
I´m use mimugmail-single.conf for AdGuard
My concern was, if opnsense or some script regularly checks, overwrite or do something else with the file.
But like you wrote, editing manual or with the WebUI works nice.
I made manual changes yesterday evening, and everything works so far.
(changes like: password, ssl 4 webui, bind ip port.)

My question was answered.
Thanks a lot.

👍