OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Documentation and Translation (Moderator: fabian) »
  • AdGuard Home setup guide
« previous next »
  • Print
Pages: 1 ... 15 16 [17] 18 19

Author Topic: AdGuard Home setup guide  (Read 215495 times)

cookiemonster

  • Hero Member
  • *****
  • Posts: 1077
  • Karma: 65
    • View Profile
Re: AdGuard Home setup guide
« Reply #240 on: June 09, 2023, 08:51:05 am »
This quoted setup will work, the settings are a viable route to dns resolution.
Check and restart services or clients and diagnose on along the path.
Logged

tiermutter

  • Hero Member
  • *****
  • Posts: 834
  • Karma: 45
    • View Profile
Re: AdGuard Home setup guide
« Reply #241 on: June 09, 2023, 09:08:22 am »
I already heard that update to 107.31 makes AGH stopping. Solution was reinstalling AGH and restore configuration file from backup.
Logged
i am not an expert... just trying to help...

yeraycito

  • Full Member
  • ***
  • Posts: 249
  • Karma: 15
    • View Profile
Re: AdGuard Home setup guide
« Reply #242 on: June 09, 2023, 06:14:26 pm »
Two days ago version 0.107.30 was released, which has turned out to be buggy, yesterday version 0.107.31 was released, which fixes the bugs of the previous version and works great.
Logged

yeraycito

  • Full Member
  • ***
  • Posts: 249
  • Karma: 15
    • View Profile
Re: AdGuard Home setup guide
« Reply #243 on: June 18, 2023, 04:17:32 pm »
Free Android application to monitor and manage Adguard in Opnsense:

https://play.google.com/store/apps/details?id=com.jgeek00.adguard_home_manager
Logged

Sbbh

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: AdGuard Home setup guide
« Reply #244 on: June 19, 2023, 09:38:50 pm »
Can someone please explain how to make this work with multiple vlans? I have DNS working so far with Adguard and Unbound, but I'd like to forward all DNS traffic to Adguard.

If I simply create the NAT rules from here https://labzilla.io/blog/force-dns-pihole -- my vlan traffic can't access Adguard.

Do the vlans need to point to their respective gateway for DNS (opnsense IP)? Is there any way to avoid having a different DNS server IP for each vlan? I'm a bit lost..
Logged

ChrisChros

  • Full Member
  • ***
  • Posts: 132
  • Karma: 5
    • View Profile
Re: AdGuard Home setup guide
« Reply #245 on: June 19, 2023, 10:31:44 pm »
During setup of Adguard have you selected all networks including vlan's?
I have two port forward and one outbound rule to achieve what you want.

Within DHCP setup I have no specific DNS servers selected, this field is empty.

Additionaly I have for each Lan and vlan one rule to block all external DNS traffic on port 53 and allow only internal DNS traffic.
Logged
XSK NUC Intel Celeron J3160 aka Protectli FW4B, 8GB RAM
OPNsense 22.1

Sbbh

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: AdGuard Home setup guide
« Reply #246 on: June 20, 2023, 03:01:30 am »
@ChrisChros, yep all networks are selected.

I'm guessing that everything in Adguard and Unbound is set up correctly, and I just need to create to correct rules in the firewall to forward all DNS traffic to Adguard and block everything else.

Does your DNS traffic stay within the lan/vlan? i.e. is the default DNS server the same as the gateway for each subnet? And are the portforward and outbound rules applied only to the LAN interface?
Logged

ChrisChros

  • Full Member
  • ***
  • Posts: 132
  • Karma: 5
    • View Profile
Re: AdGuard Home setup guide
« Reply #247 on: June 20, 2023, 06:39:03 am »
Quote from: Sbbh on June 20, 2023, 03:01:30 am
@ChrisChros, yep all networks are selected.
Does your DNS traffic stay within the lan/vlan? i.e. is the default DNS server the same as the gateway for each subnet? And are the portforward and outbound rules applied only to the LAN interface?

DNS server is the same as the gateway for each subnet.
The Alias "local_Networks" include all subnets, Lan and vlan.
Logged
XSK NUC Intel Celeron J3160 aka Protectli FW4B, 8GB RAM
OPNsense 22.1

Flyinace2000

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: AdGuard Home setup guide
« Reply #248 on: July 02, 2023, 04:45:34 pm »
What does the "Primary DNS" tick box do?

Logged
Dell i5-4570, 8GB, Intel i350-T4

ChrisChros

  • Full Member
  • ***
  • Posts: 132
  • Karma: 5
    • View Profile
Re: AdGuard Home setup guide
« Reply #249 on: July 02, 2023, 05:55:03 pm »
you have to enable this button, there was a problem in the past which has been discussed also here in the forum.
Can't explain the reason.
Logged
XSK NUC Intel Celeron J3160 aka Protectli FW4B, 8GB RAM
OPNsense 22.1

huwylphi

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: AdGuard Home setup guide
« Reply #250 on: July 04, 2023, 04:01:18 pm »
Quote from: tiermutter on June 09, 2023, 09:08:22 am
I already heard that update to 107.31 makes AGH stopping. Solution was reinstalling AGH and restore configuration file from backup.

Quote from: yeraycito on June 09, 2023, 06:14:26 pm
Two days ago version 0.107.30 was released, which has turned out to be buggy, yesterday version 0.107.31 was released, which fixes the bugs of the previous version and works great.

I have opnsense v23.1.11 and AGH v0.107.32 and still have AGH that stops after a few hours / days.
In my setup I actually have 2 opnsense instances as master/backup (CARP) and it happens on both instance.
Also to mention, I use one docker container ghcr.io/bakito/adguardhome-sync for synchronizing the AGH configuration between both instances (each running on the master and backup opnsense instance). Maybe this is related somehow?
In my setup I also checked the new option "Primary DNS" since AGH is running on port 53 and Unbound DNS on another port.

Should I try what tiermutter suggested by reinstalling AGH and restore its configuration file from a backup?

Thanks for any advice.

Edit: I catch one time the moment when it crashes. It seems that the CPU consumption get very high:
https://drive.google.com/file/d/1Bq23bpAMBmBV8xU3hd_CZLb7Ck4pL0m6/view?usp=sharing

After killing the process with kill -9 74662 I could restart the AGH service and it runs again for some days (max 48h)
« Last Edit: July 11, 2023, 04:06:43 pm by huwylphi »
Logged

Limete

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: AdGuard Home setup guide
« Reply #251 on: July 08, 2023, 07:28:01 pm »
Is there a reason to keep Unbound enabled when using AdGuard Home? I turned mine off entirely and everything seems to be working fine.

Also, is there a way to get hostnames to appear in AGH rather than just IP?
« Last Edit: July 08, 2023, 07:44:13 pm by Limete »
Logged

ChrisChros

  • Full Member
  • ***
  • Posts: 132
  • Karma: 5
    • View Profile
Re: AdGuard Home setup guide
« Reply #252 on: July 08, 2023, 08:28:51 pm »
Quote from: Limete on July 08, 2023, 07:28:01 pm
Also, is there a way to get hostnames to appear in AGH rather than just IP?
[/quote
you have to enter the IP address of your OPNsense box in the Bootstrap DNS-Server field.
Logged
XSK NUC Intel Celeron J3160 aka Protectli FW4B, 8GB RAM
OPNsense 22.1

Flyinace2000

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: AdGuard Home setup guide
« Reply #253 on: July 13, 2023, 12:01:54 am »
Anyone update today from the web admin page, then have the service not be able to start?

*edit*
Ended up deleting the plug in and re-installing.
« Last Edit: July 13, 2023, 01:43:27 am by Flyinace2000 »
Logged
Dell i5-4570, 8GB, Intel i350-T4

huwylphi

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: AdGuard Home setup guide
« Reply #254 on: July 19, 2023, 11:24:05 am »
Quote from: huwylphi on July 04, 2023, 04:01:18 pm
Quote from: tiermutter on June 09, 2023, 09:08:22 am
I already heard that update to 107.31 makes AGH stopping. Solution was reinstalling AGH and restore configuration file from backup.

Quote from: yeraycito on June 09, 2023, 06:14:26 pm
Two days ago version 0.107.30 was released, which has turned out to be buggy, yesterday version 0.107.31 was released, which fixes the bugs of the previous version and works great.

I have opnsense v23.1.11 and AGH v0.107.32 and still have AGH that stops after a few hours / days.
In my setup I actually have 2 opnsense instances as master/backup (CARP) and it happens on both instance.
Also to mention, I use one docker container ghcr.io/bakito/adguardhome-sync for synchronizing the AGH configuration between both instances (each running on the master and backup opnsense instance). Maybe this is related somehow?
In my setup I also checked the new option "Primary DNS" since AGH is running on port 53 and Unbound DNS on another port.

Should I try what tiermutter suggested by reinstalling AGH and restore its configuration file from a backup?

Thanks for any advice.

Edit: I catch one time the moment when it crashes. It seems that the CPU consumption get very high:
https://drive.google.com/file/d/1Bq23bpAMBmBV8xU3hd_CZLb7Ck4pL0m6/view?usp=sharing

After killing the process with kill -9 74662 I could restart the AGH service and it runs again for some days (max 48h)

Update: since updating to AGH v0.107.34, the crashes on both opnsense instances are gone.
Logged

  • Print
Pages: 1 ... 15 16 [17] 18 19
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Documentation and Translation (Moderator: fabian) »
  • AdGuard Home setup guide
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2