hello everyone when i try to click + to add instance its stack and do nothing..
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: meyergru on April 09, 2026, 06:06:54 PMIf you do not know by now, I cannot help you, sorry.So i can to build up LXC in proxmox and give the solution to Production??
In AGH or Unbound, you have to redirect bad sites to the IP of your blocking webserver.
I gave a link to a project that can handle the blocking webserver (including certificates) part. It needs docker, but if you do not have that or know how to use docker-compose or do it another way, you are stuck.
OpnSense has no means to do it and it is complex by nature. Note that OpnSense is not your average consumer router that will handle these things automagically for you (actually, what you request cannot be done on OpnSense alone).
Quote from: nero355 on April 09, 2026, 03:34:08 PMQuote from: haim9080 on April 09, 2026, 02:12:16 PMAt the same time, is WIREGUARD better?For your battery useage it 100% is according to many users :)
Quote from: meyergru on April 09, 2026, 05:00:00 PMI repeat: This approach does not work for HTTPS sites, which nowadays is the default for most sites.So it try to understand what i need to do?
Just think it through:
1. You request any URL, like https://www.badsite.com/url1.
2. No matter what you are using: Unbound, AGH or Pi-Hole see that "www.badsite.com" is on their blocklist.
3. You configure your DNS blocker to NOT deliver a "NOT FOUND" error, but a different IP than the real one for www.badsite.com.
4. The webserver behind that IP accepts the request on port 443. If it can present a certificate for www.badsite at all (for the purpose of which it has to be able to dynamically generate those), it will not be trusted by your browser per se (unless you import the generating CA first).
5. Therefore, your browser will bark and NOT show you the blocking notice, but instead a warning that something fishy is going on (which it is).
Result: You cannot have a blocking notice page (as requested per thread title) without dynamic certificates that your browser trusts.
Quote from: meyergru on April 09, 2026, 08:46:30 AMAdguard Home is not designed for that purpose - normally, it is supposed to just return a DNS error for "advertisements" that drops requests for advertisement URLs, such that ad content image parts will be left out from your normal pages.So if I understand you correctly, can I set the ADGUARD settings to give it an NGINX server address or some server with a white page or a design that says it's blocked and ADGUARD will redirect it to it every time??
Of course you can use blocklists that also block certain sites and you can specify the IP that AGH returns. You can then install a webserver on that IP that answers with a block notice for any URL. Yet, if the original URL was HTTPS, you would get an error because your block notice cannot produce a valid certificate for the original page called for. Thus, you need to create a certificate on-the-fly, the CA for that must be imported on your clients.
Here is a project that does that, but as I said, this is not how AGH is intended to be used, so it is a lot of manual work. Also, I assume that every advertisement on each page would be replaced by a small picture of the block site.
Quote from: Patrick M. Hausen on April 09, 2026, 12:08:01 AMAdGuard Home needs a forwarder or upstream DNS server as it might be called. It cannot do recursive resolution by itself. That's why I
- let AGH listen on port 53 on all interfaces
- let Unbound listen on port 53530
- set 127.0.0.1:53530 as an upstream for AGH
If you don't want a local Unbound in that equation, you need to point your AGH at your ISP's or some other recursive DNS server.
With that being solved it's a matter of
- have AGH listen on *all* interfaces: 0.0.0.0 - firewall rules will take care of nobody abusing it
- point your OpenVPN clients at "OPNsense address in the OpenVPN network, port 53" for DNS
HTH,
Patrick
Quote from: meyergru on April 08, 2026, 09:57:14 PMYou need Unbound or any DNS resolver, so AGH should run on an alternative port. I do not use it, but here is a guide:
https://samuelsson.dev/install-adguard-home-on-an-opnsense-router/
Maybe you should use something different than 5353, because that collides with mDNS.
Quote from: meyergru on April 08, 2026, 09:14:18 PMThe instructions to do this are literally on the linked page.
Quote from: Patrick M. Hausen on April 07, 2026, 03:27:01 PMYes, of course. Integrated with OPNsense.So how i can download that?? Install that? You can give me a steps ???
Quote from: Patrick M. Hausen on April 07, 2026, 12:47:12 PMQuote from: haim9080 on April 07, 2026, 12:23:17 PMwherer??!?!?!!? i search in community plugin and i didnt see nothing..
https://www.routerperformance.net/opnsense-repo/
If you pick the "just AdGuard" repository, there won't be any ill side effects caused by package conflicts. AGH is a single golang binary, all very clean and manageable.
Quote from: nero355 on April 06, 2026, 03:24:42 PMListen, this OPNSENSE is in my rented apartment, I have S2S between my parents' house and here, and my parents' house has PROXMOX on it, which has ADGUARD and everything. I can redirect all the traffic to its name, but that's a bit stupid to me..Quote from: haim9080 on April 05, 2026, 10:32:02 PMHow can I fix this?Unbound is nice for the whole 'Query Root DNS Servers' thing, but for blocking domains I would rather use Pi-Hole than anything else to be honest :)
Maybe one day there will be some kind of OPNsense alternative for pfBlockerNG but for now Pi-Hole + Unbound on a Raspberry Pi/Intel NUC/Proxmox CT or VM has my preference : https://docs.pi-hole.net/guides/dns/unbound/
/EDIT :Quote from: Patrick M. Hausen on April 06, 2026, 04:16:17 PMAdGuard Home is available as a community plug in and works very well. I prefer it over Pihole.I know, but aside from disliking AdGuard since Day #1 the reason to not use it on OPNsense is because I like to keep my Router/Firewall as clean and simple as possible and something like that does not belong there IMHO :)
Quote from: Patrick M. Hausen on April 06, 2026, 04:16:17 PMQuote from: nero355 on April 06, 2026, 03:24:42 PMMaybe one day there will be some kind of OPNsense alternative
AdGuard Home is available as a community plug in and works very well. I prefer it over Pihole.