复杂的AdGuardHome的openwrt的luci界面
- 可以管理网页端口
- luci下载/更新核心版本
- upx 压缩核心(xz依赖,脚本自动下载)
- dns重定向
- 作为dnsmasq的上游服务器(在AGH中无法统计客户端信息,也无法针对客户端调整设置,ssr-plus正常)
- 重定向53端口到 AdGuardHome(ipv6需要开启ipv6 nat redirect 否则如果客户端使用ipv6过滤无效,不以dnsmasq为上游ssr-plus失效)
- 使用53端口替换 dnsmasq(需要设置AGH,dnsip为0.0.0.0, AGH和dnsmasq的端口将被交换,不以dnsmasq为上游ssr-plus失效)
- 自定义执行文件路径(支持tmp,每次重启后自动下载bin)
- 自定义配置文件路径
- 自定义工作路径
- 自定义运行日志路径
- gfwlist 定义上游dns服务器
- 修改网页登陆密码
- 倒序/正序 查看/删除/备份 每3秒更新显示运行日志
- 手动修改配置文件(支持yaml编辑器)
- 使用模板快速配置(没有配置文件时)
- 系统升级保留程序和配置(查询日志和数据库可选保留)
- db数据库不支持放在不支持mmap的文件系统上比如 jffs2 data-stk-oo,请修改工作目录,本软件如果检测到jffs2会自动ln(软连接)到/tmp,将会导致重启丢失dns数据库
- AdGuardHome 不支持ipset 设置,在使用ipset的情况下,无法替代dnsmasq只能作为dnsmasq上游存在,如果你想要这个功能就去投票吧
AdguardTeam/AdGuardHome#1191 - 反馈出现大量127.0.0.1查询localhost的请求,问题出现原因是ddns插件,如果不用ddns插件,请删空ddns插件中的所有规则,插件中的每一个规则会在一秒钟产生一个这样的请求(只出现在mips上)
- 下载release,使用opkg安装即可
- 或者编译op时clone本项目加入软件包并勾选
Complex openwrt AdGuardHome luci
- can manage browser port
- download/update core in luci
- compress core with upx
- redirect dns
- as the upstream of dnsmasq
- redirect port 53 to AdGuardHome(ipv6 need to install ipv6 nat redirect or if client use ipv6 redirect is invalid)
- replace dnsmasq with port 53 (need to set AGH,dnsip=0.0.0.0,the port of dnsmasq and AGH will be exchange)
- change bin path
- change config path
- change work dir(support tmp,auto redownload after reboot)
- change runtime log path
- gfwlist query to specific dns server
- modify browser login passord
- Positive/reverse order see/del/backup runtime log which update every 3 second
- modify config manually(support yaml editor)
- use template to fast config(when no config file)
- Keep bin file and config when system upgrade (database and querylog can be choose)
- db database not support filesystem which not support mmap such as jffs2 and data-stk-oo,please modify work dir,if jffs2 is found,will auto ln (soft link)the dbs to /tmp ,will lost dns database after reboot
- AdGuardhome not support ipset,when we use ipset ,it can`t be the repacement of dnsmasq but the upstream of dnsmasq ,if you want it,vote for it.
AdguardTeam/AdGuardHome#1191 - find so many localhost query from 127.0.0.1,the ddns plugin is the reason,if you don`t use ddns,please del all the rules in it,every rules in it will make a such query every one second (just on mips)
- download release,install it with opkg
- or when make op,clone the code to the package path and set it as y or m