Block ads, malware, tracking, mining + more on OPNsense with UnboundBL & Unbound DNS.
UnboundBL goes hand-in-hand with Unbound DNS to blackhole undesired content. By generating a .conf file for Unbound in realtime, it allows you to easily submit, convert & manage blacklist URL's. It's not quite at the pfBlocker level, but it's getting there! π
- Add, download and parse blocklist URLs.
- Add unlimited whitelist entries in domain format (eg.
www.malware-server.net
) which will be ignored from any blocklist you parse. - One-click refresh and rebuild.
- Cron-job management.
- Advanced error reporting.
- Preset blacklists for easy setup.
- Advanced blacklist management.
- Regex builder for whitelist.
- Pixelserv (NGINX) to replace 0.0.0.0.
Obviously, this is all done with the 8) Shell
mode via SSH.
- Drop the
UnboundBL/
folder somewhere handy on your router. - Make sure you have the proper tools installed.
cd
intoUnboundBL/
folder.$ make package
$ pkg add work/pkg/*.txz
8) Shell
mode via SSH, or web-based package manager, I suppose.
$ pkg remove os-UnboundBL-devel-1.0
Special thanks to Devin Ortner for his awesome blog post, which helped kickstart this project. OPNsense contributor @mimugmail for his awesome critique and help. And of course, the Unbound DNS & OPNsense team. You guys are 'da real MVPs.