Last active
March 8, 2023 03:39
-
-
Save RustyRouter/bf8bddde61d30eaea775d444f98b3452 to your computer and use it in GitHub Desktop.
Steps to install AdGuardHome on Linksys E8450 (aka. Belkin RT3200)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir /opt/ && cd /opt | |
wget -c https://static.adguard.com/adguardhome/release/AdGuardHome_linux_arm64.tar.gz | |
tar xfvz AdGuardHome_linux_arm64.tar.gz | |
rm AdGuardHome_linux_arm64.tar.gz | |
/opt/AdGuardHome/AdGuardHome -s install | |
uci set dhcp.@dnsmasq[0].cachesize='1000' | |
uci set dhcp.@dnsmasq[0].noresolv='1' | |
uci set dhcp.@dnsmasq[0].server='192.168.1.1' | |
uci set dhcp.@dnsmasq[0].port='0' | |
uci add_list dhcp.lan.dhcp_option='6,192.168.1.1' | |
uci add_list dhcp.lan.dhcp_option='3,192.168.1.1' | |
uci set dhcp.lan.leasetime='24h' | |
uci set dhcp.@dnsmasq[0].dnsforwardmax=1024 | |
uci set network.wan.peerdns='0' | |
uci set network.wan.dns='1.1.1.1 1.0.0.1' | |
uci commit dhcp | |
uci commit network | |
/etc/init.d/network restart | |
/etc/init.d/dnsmasq restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment