一、给OpenWrt安装SmartDNS
去这https://github.com/pymumu/smartdns/releases下载luci-app-smartdns.1.2020.09.08-2235.all-luci-compat-all.ipk 、smartdns.1.2020.09.08-2235.x86_64-openwrt-all.ipk 然后上传到OpenWrt里面
系统–文件传输

先安装1再安装2
二、设置SmartDNS

SmartDNS重定向选择“无”,因为只是开启SmartDNS

SmartDNS第二服务器也设置下,端口设置为5335
三、设置AdGuard Home

进入到AdGuard Home的上游DNS设置,设置为Smart第一DNS的端口:127.0.0.1:6053

四、软路由设置
网络–DHCP/DNS设置如下

DNS转发到AdGuard Home
接着设置LAN口的DNS
网络–接口–LAN

SSR+处将SmartDNS指定的外网DNS设置为代理访问
