Almalinux10にて構築
linuxをミニマムインストール
SELinuxを無効化
sudo grubby --update-kernel ALL --args selinux=0
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v
にて公式よりインストール
systemctrl stop firewalld
ファイヤーウォールを一時停止し設定したIPのポート3000にWEBアクセス
セットアップウィザードを実行し設定が終わったら
systemctrl start firewalld
sudo firewall-cmd --permanent --add-service=dns
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --reload
にてファイヤーウォールを起動
WEBアクセスしAdGuardHomeのフィルター DNSブロックリストに
日本語向けフィルター 豆腐 を追加
https://raw.githubusercontent.com/tofukko/filter/master/Adblock_Plus_list.txt
あとはいいようにフィルターを追加 ただし多すぎるとフリーズする
クライアントからのセッション数は 0 無限に変更
dnf install dnf-automatic -y
vi /etc/dnf/automatic.conf
# Whether updates should be downloaded when they are available, by
# dnf-automatic.timer. notifyonly.timer, download.timer and
# install.timer override this setting.
download_updates = yes
# Whether updates should be applied when they are available, by
# dnf-automatic.timer. notifyonly.timer, download.timer and
# install.timer override this setting.
apply_updates = yes
systemctl enable dnf-automatic.timer
systemctl start dnf-automatic.timer
