this post was submitted on 02 Nov 2023
49 points (98.0% liked)

Selfhosted

40137 readers
612 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Today I decided I would create some way of visualizing my unbound DNS requests/blocks on OPNsense. Adguard does a good job at this but I have issue with added third party repos and plugins, especially at the router level.

Anyway...since the last time I've dug into this OPNsense has built in Unbound DNS reporting (since 23.1) and it's amazing! Arguably just as good as Pihole or Adguard. Graphs, lists of top blocked and allowed domains, query logs, quick buttons to block or whitelist next to each domain. I'm impressed.

Not sure if this is the right community, but just wanted to share if some of you weren't aware of this option.

top 20 comments
sorted by: hot top controversial new old
[–] NightAuthor@lemmy.world 8 points 1 year ago (2 children)

Ugh, I want to build an opnsense router but I can’t go spending unnecessarily until I find a job.

Anyone hiring an IT admin and/or software engineer in the Portland area?

[–] krolden@lemmy.ml 2 points 1 year ago (1 children)

Wyse 5070 thin clients are cheap on ebay and work great.

[–] NightAuthor@lemmy.world 3 points 1 year ago (3 children)

How do you deal with only 1 Ethernet port?

Vlan to managed switch? USB Ethernet adapter?

Also, is this powerful enough for a symmetrical 1gig connection?

[–] krolden@lemmy.ml 3 points 1 year ago

Theres a NIC that uses the WiFi m.2 socket and mounts in th thin client option port.

Ive been running it at full speed on symmetrical gigabit pppoe with opnsense for a while. Works great.

[–] peregus@lemmy.world 3 points 1 year ago

I run it on a Fujitsu Futro S720 thin client (bought for 40€ on ebay) with a VLAN aware switch. I know the Futro is not available in the US, but there is an HP thin client similar to it.

[–] xtremeownage@lemmyonline.com 1 points 1 year ago

I use vlans to work with it.

[–] ikidd@lemmy.world 1 points 1 year ago

If you have a Proxmox box with 2 NICs, it requires very little resources as a VM.

[–] Lem453@lemmy.ca 6 points 1 year ago

I've been rocking an ali express mini PC since 2017, started with pfsense for a year and ditched it when the devs had multiple public tantrums. Opnsense ever since then. It's been rock solid and super stable since. Super happy I went with it!

[–] MonkCanatella@sh.itjust.works 3 points 1 year ago (1 children)

So this would basically allow me to use unbound as a DNS filter and resolver? Any reason why one would use adguard/blocky in their setup? Would it be more performant to use blocky + unbound, or have all your filtering done using unbound?

[–] xtremeownage@lemmyonline.com 1 points 1 year ago (1 children)

unbound as a DNS filter and resolver

Its.... worked as a recursive resolver, with filtering/blacklist features for years now?

[–] MonkCanatella@sh.itjust.works 1 points 1 year ago (1 children)

That’s cool, so why would someone run pihole/adguard/blocky with unbound?

[–] xtremeownage@lemmyonline.com 1 points 1 year ago (1 children)

Not a clue.

Maybe they like the pretty dashboard pihole has.

[–] DeltaTangoLima@reddrefuge.com 1 points 1 year ago (1 children)

I pull all my data into Grafana anyway, so dashboarding on any platform holds little attraction for my use case.

That said, my pair of Pi-hole servers pre-dates my OPNsense setup, plus I use a lot of internal hostname resolution for service portability. My single instance of OPNsense doesn't tick all those boxes for DNS.

[–] ikidd@lemmy.world 1 points 1 year ago (1 children)

Unbound will do complete domain redirection to another service on itself or individual host overrides if you wanted to do that in the OPNsense box alone. What I like about the host overrides being on the Opnsense box is that you can have DHCP make the clients register their hostnames with Unbound for automatic registration, and if you combine that with IP reservations, it's that much more predictable.

[–] DeltaTangoLima@reddrefuge.com 1 points 1 year ago

Yeah, no doubt there's some benefits there. My problem is that I don't (yet) have the storage system to make my Proxmox cluster properly HA. Technically, a hardware fault could still take down my OPNsense instance, whereas I have a secondary Pi-hole running on a RasPi, for redundancy.

[–] ikidd@lemmy.world 1 points 1 year ago

I think you can also export to graphana via Prometheus if you want to get fancy.

[–] thisisawayoflife@lemmy.world 1 points 1 year ago (1 children)

This is good to know as I'll be seeing up a new opnsense router in the next few weeks.

[–] iodine0320@lemmy.world 5 points 1 year ago

Alot of useful info in this guide if your new to OPNsense.

[–] Decronym@lemmy.decronym.xyz 1 points 1 year ago

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
HA Home Assistant automation software
~ High Availability
IP Internet Protocol

[Thread #260 for this sub, first seen 2nd Nov 2023, 20:10] [FAQ] [Full list] [Contact] [Source code]

[–] flux@lemmy.world 1 points 1 year ago

I didn't know. I'll have a look. thanks for sharing.