OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Announce: new OPNsense community repository
« previous next »
  • Print
Pages: 1 ... 3 4 [5] 6 7 ... 11

Author Topic: Announce: new OPNsense community repository  (Read 86395 times)

tusc

  • Newbie
  • *
  • Posts: 33
  • Karma: 4
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #60 on: March 19, 2021, 07:32:08 pm »
@N0_Klu3, I've set it up where Adguard listens on port 53 and point the upstream DNS to the Unbound DNS server on OPNSense. You just need to change the port Unbound is listening on (e.g. 7553) and update Adguard upstream section accordingly.

This way local IP addresses have name resolution since the DHCP server on OPNsense registers all addresses and returned by Unbound. Hope this helps.

« Last Edit: March 19, 2021, 07:54:30 pm by tusc »
Logged

N0_Klu3

  • Jr. Member
  • **
  • Posts: 93
  • Karma: 2
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #61 on: March 19, 2021, 09:23:02 pm »
@tusc, ye thats what I'm looking for.
Can you give me more info? Or some screenshots?

Right now I just put my AdGuard IP as DNS in General, and then told Unbound to forward requests instead.
This works for the most part but I am seeing some issues.
Logged

nVIceman

  • Newbie
  • *
  • Posts: 23
  • Karma: 1
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #62 on: March 19, 2021, 09:48:05 pm »
Not not on the first try, but on another machine when I try to assign a different port on unbound, the system updater couldn't find any updates, so I had to put unbound back to Port 53 and then use a port forwarding rule to direct traffic to the different port that I put adguard home on.
Logged

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6925
  • Karma: 584
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #63 on: March 19, 2021, 10:11:11 pm »
AdGuard needs an upstream DNS anyway, because it is not a fully functional recursive resolver. Therefore instead of letting AdGuard forward to Cloudflare, Google, what-have-you ... I would (and I do) have AdGuard listen to port 53 on all interfaces and then forward to either Unbound or BIND configured to listen on some high port.

To reconfigure AdGuard's listening address you need to edit its config file, no UI for that yet. It's /usr/local/AdGuardHome/AdGuardHome.yaml:
Code: [Select]
dns:
  bind_host: 0.0.0.0
  port: 53
[...]
  upstream_dns:
  - 127.0.0.1:53530

127.0.0.1:53530 is my BIND. You can configure Unbound to do the same.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

N0_Klu3

  • Jr. Member
  • **
  • Posts: 93
  • Karma: 2
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #64 on: March 20, 2021, 08:25:24 pm »
I created this guide for AdGuard home.
https://forum.opnsense.org/index.php?topic=22162

Please review and scrutinise, I am more than happy to be corrected and get a better solution for all.
Logged

hushcoden

  • Hero Member
  • *****
  • Posts: 551
  • Karma: 23
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #65 on: March 20, 2021, 09:17:45 pm »
Quote from: pmhausen on March 19, 2021, 10:11:11 pm
To reconfigure AdGuard's listening address you need to edit its config file, no UI for that yet. It's /usr/local/AdGuardHome/AdGuardHome.yaml:
Code: [Select]
dns:
  bind_host: 0.0.0.0
  port: 53
[...]
  upstream_dns:
  - 127.0.0.1:53530

127.0.0.1:53530 is my BIND. You can configure Unbound to do the same.
It seems to me with Unbound you cannot select a 'custom' IP address...
Logged

Spritzup

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #66 on: April 19, 2021, 02:43:25 am »
Just a quick question regarding AdGuard.  I installed it, poked around with it, and now I want to start fresh.  However, upon reinstall, my settings still exist.  Where can I wipe these and/or reset to defaults?

Thanks!

~Spritz
Logged

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6925
  • Karma: 584
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #67 on: April 19, 2021, 10:26:24 am »
/usr/local/AdGuardHome
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Spritzup

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #68 on: April 19, 2021, 12:45:22 pm »
Quote from: pmhausen on April 19, 2021, 10:26:24 am
/usr/local/AdGuardHome

ugh, thanks for that.  For some reason the first time I deleted that directory, it didn't seem to do anything.  I even went so far as to do a locate on AdGuard and delete all mention of it (to no avail).  That said, the second time I removed that directory, it worked fine.

Thanks again for your help!

~Spritz
Logged

Drinyth

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #69 on: April 19, 2021, 04:29:54 pm »
Still loving the AdGuardHome plugin and that it works flawlessly on the same device as my opnsense installation.

I noticed from "System -> Firmware -> Plugins" that it shows up now as:

os-adguardhome-maxit (misconfigured)

It doesn't seem to affect things, but I did try deleting and reinstalling the software to see if it would go away and it doesn't? The console also displayed something about the metadata in /usr/local/opnsense/version/adguardhome-maxit being invalid or something?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #70 on: April 19, 2021, 09:55:14 pm »
I'll roll out a new batch fixing it. My build plattform was missing some commits
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Walnut

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #71 on: May 25, 2021, 10:38:21 am »
Firstly, thank you mimugmail for providing this repository, it's very useful.

Secondly, and this is not a complaint!..  AdGuard has had an update available for about a week (v0.106.3) but I'm seeing no update on the repository. Has the packaging and uploading of updates to the repository been automated? Could it be?

Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #72 on: May 25, 2021, 02:36:15 pm »
You can always Update via AdGuardHome UI, this works too. Next Plugin update will be 0.107
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

tracerrx

  • Full Member
  • ***
  • Posts: 128
  • Karma: 11
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #73 on: June 02, 2021, 05:07:50 pm »
Thanks for the repo!

Is there a way to automate or change how often/when speedtest-cli runs via the GUI? 

Update: Nevermind, Schedule in cron, and add server ID as a param... got it.
« Last Edit: June 02, 2021, 05:16:51 pm by tracerrx »
Logged

opn_nwo

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 0
    • View Profile
Re: Announce: new OPNsense community repository
« Reply #74 on: July 02, 2021, 04:27:06 pm »
Is the Maltrail plugin still maintained and updated?
Logged

  • Print
Pages: 1 ... 3 4 [5] 6 7 ... 11
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Announce: new OPNsense community repository
 

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