Unbound on OPNsense ftw
Just moved to an OPNsense network. Setting up unbound was so nice and simple. Much preferred over pihole.
Agreed. I used pihole initially when I was first learning networking, but when I got a dedicated machine and installed OPNsense, I learned how much easier so many things can be.
The downside is OPNsense is it’s information light, and a bit inscrutable lol I’m having an issue with my WAN dhcp going offline, seems to be happening on a cadence. My modem is fine, connection is valid. Rebooting the OPNsense box fixes it. Losing my mind a bit but I’ll figure it out 🙃
Try setting a tunable of:
net.link.ether.inet.max_age = 540
By default FreeBSD sets a 20 minute ARP maximum age while many ONT’s set a 9 minute maximum age. This will show up as performance issues initially then cause other issues.
Also Realtek NIC’s are notorious for issues with FreeBSD, so if you are using one replacing it with an Intel one is highly recommended.
I believe it was the realtek NIC and some settings offloading to the hardware I set during troubleshooting. Installed the Realtek driver in the plugins and changed those settings and so far no instability! Thank you for the tunable suggestion though I will also be checking that out!
No problem.
Be sure to set a cron job for updating the DNS Blocklists, running scrubs, smart tests, and trim if you are using a ssd.
I am working on a way to do snapshots for the system as well for super simple restores that are automatically created. Before an update you WILL want to have a snapshot available. Once snapshots are automated I will probably start doing automatic updates. It basically creates a system similar to how an immutable OS works, if something goofs you can simply roll back to a previous working state and pause updates. I previously had a script I setup via a cron job but the system removed the job during an update.
These are huge! Thank you for the suggestions I will get to implementing all of these. The only thing I’ve done so far similar to what’s in this list is backing up to my git repo, which is very nice. Every setting change gets committed. Is that different than snapshotting?
I switched to pihole. Just found it… easier.
I started on pihole, then the devs messed it all up and made it complicated, so I started using unbound on OPNsense and holy poop was it so much easier for me. But I mean as long as everyone is using something, that’s what really matters. Don’t let these corporations take even an inch
Absolutely. Remember to enable a cron job in the OpnSense - System > Settings > cron to update the Blocklists. Otherwise you are likely out of date.
Nowadays the internet is pretty much unusable without ad blockers/dns sinkholes
Calling it ad blocking undersells it. The ad network is the delivery path in that report, so blocking at DNS is a security layer, not tidiness. The thing I’m building goes a step further: it holds tracker connections open instead of refusing them, so they waste their own time instead of retrying instantly. Has anyone tried tarpitting at home? I’m curious whether it broke smart TVs or apps that phone home hard.
The problem with tarpitting is that apps will try to download the ads before showing you the content, and you will be more annoyed than before
DNS blockers work so why would I need your solution? I dont care if the sites try to reconnect cause the connection wont work nonetheless
deleted by creator
Thanks for the tip. I can’t find pricing on the NextDNS site. Is it free?
Don’t think I have the spoons for things like PiHole.
Edit: found it via web search https://nextdns.io/pricing



