OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.7 Legacy Series »
  • Unbound custom options via community repo
« previous next »
  • Print
Pages: [1] 2

Author Topic: Unbound custom options via community repo  (Read 25011 times)

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Unbound custom options via community repo
« 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! :)

Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

alexdelprete

  • Jr. Member
  • **
  • Posts: 73
  • Karma: 4
    • View Profile
Re: Unbound custom options via community repo
« Reply #1 on: July 18, 2021, 05:44:19 pm »
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?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Unbound custom options via community repo
« Reply #2 on: July 18, 2021, 07:26:49 pm »
Make a backup of this Box before upgrade, remove, upgrade, Install plugin, add content to new submenu
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Napsterbater

  • Newbie
  • *
  • Posts: 33
  • Karma: 2
    • View Profile
Re: Unbound custom options via community repo
« Reply #3 on: July 18, 2021, 10:40:13 pm »
With this plugin installed, do the contents of the box get included in a Config file backup of the system or no?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Unbound custom options via community repo
« Reply #4 on: July 19, 2021, 07:25:13 am »
They will :)
But with a restore you also need the plugin installed
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

alexdelprete

  • Jr. Member
  • **
  • Posts: 73
  • Karma: 4
    • View Profile
Re: Unbound custom options via community repo
« Reply #5 on: July 19, 2021, 03:31:38 pm »
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. :)
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Unbound custom options via community repo
« Reply #6 on: July 19, 2021, 06:54:46 pm »
The order is not important, but it needs both to work :)
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

alexdelprete

  • Jr. Member
  • **
  • Posts: 73
  • Karma: 4
    • View Profile
Re: Unbound custom options via community repo
« Reply #7 on: July 19, 2021, 07:08:50 pm »
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? :)
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Unbound custom options via community repo
« Reply #8 on: July 19, 2021, 08:33:33 pm »
Sure, but usually you dont need to touch it
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

alexdelprete

  • Jr. Member
  • **
  • Posts: 73
  • Karma: 4
    • View Profile
Re: Unbound custom options via community repo
« Reply #9 on: July 19, 2021, 08:36:19 pm »
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.
Logged

ctrlbrk

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Unbound custom options via community repo
« Reply #10 on: July 26, 2021, 09:51:54 pm »
@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.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Unbound custom options via community repo
« Reply #11 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
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

ctrlbrk

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Unbound custom options via community repo
« Reply #12 on: July 26, 2021, 10:25:30 pm »
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:

Code: [Select]
# 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: Unbound custom options via community repo
« Reply #13 on: July 27, 2021, 07:31:30 am »
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
« Last Edit: July 27, 2021, 07:45:44 am by franco »
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Unbound custom options via community repo
« Reply #14 on: July 27, 2021, 07:38:21 am »
My wife always asks me why I not delete email of 2015  ;D
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.7 Legacy Series »
  • Unbound custom options via community repo
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2