Recently I installed AdGuard on my Trunas scale, and it didn’t work. I found by myself that AdGuard used the port 53, and on my NAS I have Dnsmasq that uses the same port, and I didn’t install Dnsmasq, but apparently it’s necessary for some apps.
I tried to change the Adguard port, but the filters on Adguard are ignored. With the help of chat gpt I found that adguard doesn’t listen on the new port (8053) and the port 53 or it’s blocked by something.
I tried to disable Dnsmasq but I can’t maybe cause of some permissions.
I just want to install AdGuard, so if someone has the same issue, please help me.
Which version of truenas are you on? If you’re on 25.04 it may not be dnsmasq but incus blocking the port and there’s a command to change the incus port
See:
You’re the second person who says that changing the incus port doesn’t help anymore.
Apparently something changed (but i dont know what ), so you may have to file a bug report, but i don’t know if it should be on github because it’s apps related, or in jira because it’s network related…
The absolute last thing that comes to my mind why it’s working for me but not some others:
Are you guys using a network bridge in your systems or the nic directly?
In my setup i’m using a bridge so that vm’s & lxc and previously an nspawn-jail could reach the host.
Hi guys, just some loud thinking about that Incus port 53 problem - it can help you eventually.
Generally speaking Incus is a fork of LXD (system container and virtual machine manager) and the Dnsmasq is the DNS forwarder and DHCP server part, that’s allowing Incus to provide DHCP and DNS services for the VMs.
When looking in the documentation detials Incus node is enabled from the truenas storage driver to create a storage pool with remote TrueNAS storage server … etc. but this is completely different story, unrelated to the Dnsmasq.
Creating a network bridge for the LXC containers and moving the host IP onto it should resolve the issue, as LarsR wrote …
Just came here to add that I’m having the same issue with the Ad Guard install. The specific error I’m getting is:
RenderError(err_str) from None base_v2_1_77.error.RenderError: [EINVAL] render.adguard-home.schema: The port is being used by following services: 1) "10.203.233.1:53" used by Virt Service
Quick update: The workaround I found for my specific issue was assigning the AdGuard install its own static IP address.
First, I added an additional static IP address to my network interface via System > Network.
Second, when I started the app installation, in the “Host IPs” section I clicked “Add” and selected the additional static IP address I created in the first step, instead of using my host/TrueNAS IP address.
It installed flawlessly. I haven’t gone into AdGuard yet to configure it, but this at least got me past the app install error where port 53 was already being used.