Both web and service only need bind lan, namely: 192.168.xxx.xx.
Pay attention to the custom firewall:
iptables -t nat -A PREROUTING -i br-lan -p udp --dport 53 -j DNAT --to 192.168.5.1:52
iptables -t nat -A PREROUTING -i br-lan -p tcp --dport 53 -j DNAT --to 192.168.5.1:52
It can accurately manage the domain name query information of all terminals.
Redirect 53 port to adguardhome.
本文由 admin 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为: Mar 17, 2021 at 12:41 am
LAN AND DNS ONLY BIND GATEWAY