User Tools

Site Tools


servers:pi-hole

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:pi-hole [2018/05/28 14:11] – [FTLDNS Beta] Sean Rhoneservers:pi-hole [2019/10/17 04:42] (current) – [Service] Sean Rhone
Line 1: Line 1:
 +====== Information ======
  
 +  * Pi-hole ((https://pi-hole.net)) ((https://github.com/pi-hole/pi-hole))
 +
 +===== Prerequisites =====
 +
 +  * [[Distros:Raspbian]]
 +
 +====== Install ======
 +
 +****
 +
 +  wget -O '/tmp/basic-install.sh' 'https://raw.githubusercontent.com/pi-hole/pi-hole/master/automated install/basic-install.sh' && chmod +x '/tmp/basic-install.sh' && sudo '/tmp/basic-install.sh' && rm '/tmp/basic-install.sh' && sync
 +
 +====== Web Interface Password ======
 +
 +****
 +
 +  pihole admin password
 +
 +====== Adlist ======
 +
 +===== WaLLy3K =====
 +
 +  * https://wally3k.github.io
 +  * https://v.firebog.net/hosts/lists.php
 +
 +  * :!: Change ''all'' in ''type=all'' with either ''tick'' or ''nocross'' if less-aggressive blocking is wanted ((see [[https://v.firebog.net/hosts/lists.php|lists]]))
 +
 +  sudo wget -O '/etc/pihole/adlists.list' 'https://v.firebog.net/hosts/lists.php?type=all' && pihole updateGravity
 +
 +====== Blacklist ======
 +
 +===== Battle.net Telemetry =====
 +
 +****
 +
 +  echo 'telemetry-in.battle.net' | sudo tee --append '/etc/pihole/blacklist.txt' > '/dev/null'
 +
 +====== Whitelist ======
 +
 +  * None currently
 +
 +====== Automatic Updates ======
 +
 +===== Service =====
 +
 +  * :!: Change ''all'' in ''type=all'' with either ''tick'' or ''nocross'' if less-aggressive blocking is wanted ((see [[https://v.firebog.net/hosts/lists.php|lists]]))
 +
 +  sudo -e '/etc/systemd/system/pihole-up.service'
 +
 +<code>
 +[Service]
 +Type=oneshot
 +Group=pihole
 +ExecStartPre=/usr/bin/wget -O '/etc/pihole/adlists.list' 'https://v.firebog.net/hosts/lists.php?type=all'
 +ExecStart=/usr/local/bin/pihole updateGravity
 +ExecStart=/usr/local/bin/pihole updatePihole
 +ExecStart=/usr/local/bin/pihole flush
 +ExecStart=/usr/local/bin/pihole restartdns
 +ExecStartPost=/bin/sync</code>
 +
 +===== Timer =====
 +
 +  sudo -e '/etc/systemd/system/pihole-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'pihole-up.timer' && sudo systemctl start 'pihole-up.timer' 'pihole-up' && sudo systemctl status 'pihole-up' -l
 +
 +<code>
 +[Unit]
 +Description=Pi-hole Updater
 +After=network-online.target
 +Wants=network-online.target
 +
 +[Timer]
 +OnCalendar=weekly
 +Persistent=true
 +
 +[Install]
 +WantedBy=timers.target</code>
 +
 +====== Addresses ======
 +
 +===== IPv4 =====
 +
 +****
 +
 +  192.168.1.155
 +
 +===== IPv6 =====
 +
 +****
 +
 +  fd85:801b:aa06:0:4c01:694b:3c15:9ab5
 +
 +===== Admin Console =====
 +
 +  * http://192.168.1.155/admin