Open koenvervloesem opened 5 years ago
Ok, I found the culprit. After reading your pull request https://github.com/opnsense/plugins/pull/1249, I found some errors in /var/log/configd.log
and I managed to get it working by:
chmod +x /usr/local/opnsense/scripts/OPNsense/Unboundbl/*.sh
It seems those two scripts weren't executable...
chmod +x /usr/local/opnsense/scripts/OPNsense/Unboundbl/*.sh
I was having the same issue. Thanks for the post!!
Same here....
Definitely needs some smoothing over on the install notes as well.
After the chmod, there is actual output to see...
Bad part is.... the /var/unbound/dnsbl.conf file keeps getting wiped out when I add a whitelist host.
Add entry, save, restart... its gone every time. Although as others are getting too... it does show sites being blocked.
What file is created for the whitelist?
Thanks for creating this plugin, it looks great!
However, I can't get it to work. I installed it like this:
I can then find the configuration page in Services / Unbound DNS / DNSBL. However, when I add a blocklist url like the https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts in your example, enable the plugin and then click Save, nothing happens. There's no output in the console section like in your screenshot, the Total domains on blocklist stays empty, and there's no
/var/unbound/dnsbl.conf
created. The same happens with other blocklist URLs.Is there a log file or another way to look at what's happening under the hood? There's nothing shown in
/var/log/system.log
.