From 9c9c58334afa16c126a9bad5f517e445d987b8a9 Mon Sep 17 00:00:00 2001 From: hitlerrip Date: Thu, 18 Dec 2025 17:25:25 +0100 Subject: add adguard home --- server.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server.sh b/server.sh index 9df4289..1ce5d22 100755 --- a/server.sh +++ b/server.sh @@ -299,6 +299,11 @@ sudo chown -R "$(whoami)":"$(whoami)" /srv/frontends/4get/ git clone --depth 1 https://git.lolcat.ca/lolcat/4get /srv/frontends/4get echo "[server] 4get server created. You may now edit the robots.txt, data/config.php, add banners, the favicon and edit the template files." +echo "[server] setting up adguard home..." +sudo apt install -y dnsutils +curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v +echo "[server] finished setting up adguard home. allow port 3000 and run initial setup with admin panel set to appear on port 11211, then disallow port 3000 again. set log rotation to 7 days. enable encryption, https port 12221 tls port 853. make blocked dns queries return the IP adress of the host. add dns fallback servers. add filters, but allow google and piracy, ddns, bypassing and all tlds. also automate this ffs." + echo "[server] configuring shell..." tee ~/.bash_aliases << EOF alias t="tmux" -- cgit v1.2.3