OPNsense Forum

English Forums => General Discussion => Topic started by: hushcoden on September 17, 2023, 06:03:45 PM

Title: Trying to get stats for each client using AdGuard Home
Post by: hushcoden on September 17, 2023, 06:03:45 PM
I've installed AdGuard Home on a Raspi4 connected to my LAN (192.168.0.1) and Raspi IP address is 192.168.0.14

AdGuard is listening on all interfaces (bind DNS on 0.0.0.0)

Unbound is disabled.

On LAN I have a port forward rule, the firewall rule as well as the outbound rule, and the setup seems to work but in AdGuard dashboard I see all the stats coming from a single IP, i.e. 192.168.0.1 - how would I fix that?

Tia.
Title: Re: Trying to get stats for each client using AdGuard Home
Post by: Patrick M. Hausen on September 17, 2023, 08:51:33 PM
Install AGH on your OPNsense? Or instead of a port forward just give clients the address of the Pi as their DNS server via DHCP.
Title: Re: Trying to get stats for each client using AdGuard Home
Post by: hushcoden on September 17, 2023, 11:08:12 PM
Quote from: Patrick M. Hausen on September 17, 2023, 08:51:33 PM
Install AGH on your OPNsense? Or instead of a port forward just give clients the address of the Pi as their DNS server via DHCP.
I know, but I wanted to make things a bit more complicated and learn some networking  ::)

I think I have no choice that going with ADGH on OPNsense  8)
Title: Re: Trying to get stats for each client using AdGuard Home
Post by: Patrick M. Hausen on September 17, 2023, 11:13:12 PM
Advice from an old network engineer: keep things as simple as possible but no simpler.  :D