Hi,
as a couple of users complain about removing the custom options I added a new plugin to the community repo:
https://www.routerperformance.net/opnsense-repo/
Please be aware that it won't work on install pre-21.7! :)
Thanks for this plugin. I didn't install 21.7 preprod yet, will wait for official version. Can I start copying the current custom settings in the plugin or will I have duplicated custom settings?
Make a backup of this Box before upgrade, remove, upgrade, Install plugin, add content to new submenu
With this plugin installed, do the contents of the box get included in a Config file backup of the system or no?
They will :)
But with a restore you also need the plugin installed
Quote from: mimugmail on July 19, 2021, 07:25:13 AM
They will :)
But with a restore you also need the plugin installed
This is true for all custom plugins, right?
So in case of a failure or reinstall from scratch, first we have to install all custom plugins, then restore the backed up configuration, correct?
Thanks a lot for your repository and your work, I had an RPi for AdGuardHome and now I installed it on opnsense. Works beautifully. :)
The order is not important, but it needs both to work :)
Quote from: mimugmail on July 19, 2021, 06:54:46 PM
The order is not important, but it needs both to work :)
Thanks. :)
Now I completed AdGuard configuration, but unfortunately it requires editing the yaml file. Would've been great if the plugin showed a textbox with the yaml file so we could edit it directly from opnsense GUI.
Do you accept FR for the plugins? :)
Sure, but usually you dont need to touch it
Quote from: mimugmail on July 19, 2021, 08:33:33 PM
Sure, but usually you dont need to touch it
That is true, you need to touch it 3-4 times (if you know what you're doing) the first day though. :)
Thanks again for the support.
@mimugmail I upgraded to 21.7 dev build in order to use your custom options.
However, I am not seeing expected changes to my Unbound. Where exactly are the custom options written on disk? I checked /var/unbound/conf.d and etc, both empty.
Tomorrow is 21.1.9 and new dev build, this should be it.
Otherwise:
opnsense-code core
cd /usr/core
make upgrade
Quote from: mimugmail on July 26, 2021, 09:54:56 PM
Tomorrow is 21.1.9 and new dev build, this should be it.
Otherwise:
opnsense-code core
cd /usr/core
make upgrade
I tried:
# opnsense-code core
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
Updating mimugmail repository catalogue...
mimugmail repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
cvsps: 2.1_2 [OPNsense]
git: 2.32.0_1 [OPNsense]
p5-Error: 0.17029 [OPNsense]
Number of packages to be installed: 3
The process will require 23 MiB more space.
4 MiB to be downloaded.
[1/3] Fetching git-2.32.0_1.txz: 100% 4 MiB 571.4kB/s 00:08
[2/3] Fetching p5-Error-0.17029.txz: 100% 27 KiB 27.5kB/s 00:01
[3/3] Fetching cvsps-2.1_2.txz: 100% 41 KiB 41.9kB/s 00:01
Checking integrity... done (0 conflicting)
[1/3] Installing p5-Error-0.17029...
[1/3] Extracting p5-Error-0.17029: 100%
[2/3] Installing cvsps-2.1_2...
[2/3] Extracting cvsps-2.1_2: 100%
[3/3] Installing git-2.32.0_1...
===> Creating groups.
Creating group 'git_daemon' with gid '964'.
===> Creating users
Creating user 'git_daemon' with uid '964'.
[3/3] Extracting git-2.32.0_1: 100%
=====
Message from git-2.32.0_1:
--
If you installed the GITWEB option please follow these instructions:
In the directory /usr/local/share/examples/git/gitweb you can find all files to
make gitweb work as a public repository on the web.
All you have to do to make gitweb work is:
1) Please be sure you're able to execute CGI scripts in
/usr/local/share/examples/git/gitweb.
2) Set the GITWEB_CONFIG variable in your webserver's config to
/usr/local/etc/git/gitweb.conf. This variable is passed to gitweb.cgi.
3) Restart server.
If you installed the CONTRIB option please note that the scripts are
installed in /usr/local/share/git-core/contrib. Some of them require
other ports to be installed (perl, python, etc), which you may need to
install manually.
Cloning into '/usr/tools'...
remote: Enumerating objects: 10466, done.
remote: Counting objects: 100% (461/461), done.
remote: Compressing objects: 100% (181/181), done.
remote: Total 10466 (delta 282), reused 379 (delta 253), pack-reused 10005
Receiving objects: 100% (10466/10466), 9.98 MiB | 3.02 MiB/s, done.
Resolving deltas: 100% (6474/6474), done.
make: "/usr/tools/Makefile" line 68: Cannot open /usr/tools/config/21.1/build.conf
make: Fatal errors encountered -- cannot continue
Config for 21.1 was removed since tomorrow 21.7 is released. Removing it never seems like a good idea. ;)
I reverted the change for now so it should be working for the time being.
Cheers,
Franco
My wife always asks me why I not delete email of 2015 ;D
Thanks for this mimugmail. A couple of basic questions if I may.
I'm on 21.1.8.
I've just added your repo according to your site's instructions and I think I've found it.
# pkg search -g -r mimugmail \* | grep bound
os-unboundcustom-maxit-1.0 Unbound Custom Options
Is this the right package?
Also, of more interest. Does it extend the built-in unbound or replace it?, and thus having to disable Unbound in "Services"?
It only extends it with a new "custom" submenu under Unbound service.
That said, I don't believe it's working yet.
Ah OK, I'll wait then. Thx.
@mimugmail
Hi,
You declare no compatibility with LibreSSL. So to use your unbound plugin I need to switch to OpenSSL Opnsense flavour?
Quote from: mimugmail on July 15, 2021, 04:52:32 PM
Hi,
as a couple of users complain about removing the custom options I added a new plugin to the community repo:
https://www.routerperformance.net/opnsense-repo/
Please be aware that it won't work on install pre-21.7! :)
Quote from: rackenthogg on July 29, 2021, 07:11:46 AM
@mimugmail
Hi,
You declare no compatibility with LibreSSL. So to use your unbound plugin I need to switch to OpenSSL Opnsense flavour?
Quote from: mimugmail on July 15, 2021, 04:52:32 PM
Hi,
as a couple of users complain about removing the custom options I added a new plugin to the community repo:
https://www.routerperformance.net/opnsense-repo/
Please be aware that it won't work on install pre-21.7! :)
As no SSL code is involved inside the plugin it will also work with libre (I just tested it) :)
Quote from: mimugmail on July 29, 2021, 08:46:11 AM
As no SSL code is involved inside the plugin it will also work with libre (I just tested it) :)
Sorry for reviving this old thread, but was the plugin removed from your comunity repo? For some reason I can't seem to find it anymore :o
There's an official supported way to create custom configuration, now.
https://docs.opnsense.org/manual/unbound.html#advanced-configurations
Quote from: Mr.Goodcat on May 18, 2022, 06:17:37 PM
Quote from: mimugmail on July 29, 2021, 08:46:11 AM
As no SSL code is involved inside the plugin it will also work with libre (I just tested it) :)
Sorry for reviving this old thread, but was the plugin removed from your comunity repo? For some reason I can't seem to find it anymore :o
Hm, maybe I missed it during rebase for .pkg extension
Quote from: mimugmail on May 18, 2022, 07:23:20 PM
Hm, maybe I missed it during rebase for .pkg extension
Any chance it's coming back? :)
There's an officially supported way to achieve the same:
https://docs.opnsense.org/manual/unbound.html#advanced-configurations
Can you open an issue in my repo. I also need to add Unifi6 again