For those who has a Gl.inet router featured with Adguard on it, you should being facing a issue at Adguard when it activated at first time, from clients list the only client listed is “localhost”, the reason it’s due dnsmasq is runing on port 53 in the other hand adguard by default on port 3053, in order to solve it you have to switch them. This entry is a forward post by the workaround explained by chao-chao from gl-inet-forum I did it and it’s working from my side, below is a little summary of the steps I did:

⚠️ NOTE: Remember backup your Router configuration ⚠️

The following command has to be run as root

  • connect by ssh to your Gl-inet router.
  • change the dnsmasq port. (by defaut is running on port 53)

You can check the service dnsmasq running by using netstat command, example below:

netstat -naulp | grep -i dns

Add the port:

#echo "port=5300" >> /etc/dnsmasq.conf
  • change the adguard port to 53
vi /etc/AdGuardHome/config.yaml

find the following entry, and change it from “port: xxxx” to “port: 53” eg:

---
dns:
  bind_hosts:
  - 0.0.0.0
  port: 53
---
  • Then restart your Router.

Remember you can rollback these change either by edit the files describe above or by restore it by using backup file, hope it can be useful for you.

Then we can disable dnsmasq service, command below:

Help:

Syntax: /etc/init.d/dnsmasq [command]

Available commands:
	start           Start the service
	stop            Stop the service
	restart         Restart the service
	reload          Reload configuration files (or restart if service does not implement reload)
	enable          Enable service autostart
	disable         Disable service autostart
	enabled         Check if service is started on boot
	running         Check if service is running
	status          Service status
	trace           Start with syscall trace
/etc/init.d/dnsmasq stop
/etc/init.d/dnsmasq disable