Pihole aufsetzen - How To
Aus Wiki_2020
- Pizero vorbereiten
raspianimage [1] download mit [2] etcher flashen in boot partition leere ssh Datei erstellen (bewirkt Erreichbarkeit über ssh)
- booten
- user: pi pwd: raspberry
- pword ändern : passwd
- sudo raspi-config Hostname, Locale, Keyboard, Timezone, expand Filesystem ,etc. de_DE.UTF-8 UTF8 ] (auswählen mit Leertaste bestätigen)
- df -h
- updaten
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade
- install git:
sudo apt-get install git
- install Pihole :
git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole cd "Pi-hole/automated install/" sudo bash basic-install.sh
- set upstream DNS Provider like Quad9 (filtered, DNSSEC)[9.9.9.9,149.112.112.112];Cloudflare [1.1.1.1;1.0.0.1];46.182.19.48 , 146.185.167.43
- set password:
pihole -a -p
- change existing Pihole
pihole -r
- Blocklist
sudo wget "https://v.firebog.net/hosts/lists.php?type=nocross" -O /etc/pihole/adlists.list pihole -g
- Option Blockpage
"sudo nano /etc/pihole/pihole-FTL.conf" add "BLOCKINGMODE=IP" save activate new Setting "sudo killall -SIGHUP pihole-FTL"
- eigene Blockpage
https://www.reddit.com/r/pihole/comments/a9v7jj/how_to_install_a_custom_block_page_for_websites/