- run
docker-install.sh
- verify docker installation
- if running on raspberry pi os run
sudo apt install linux-modules-extra-raspi
- reboot system
- open port
51820/udp
on the router for the device in use - add duckDNS subdomain
sudo apt update && sudo apt upgrade -y
curl -sSL https://install.pi-hole.net | bash
sudo ufw allow 443 && sudo ufw allow 80
- link for 5min block http://{IP_pihole}/admin/api.php?disable=300&auth=${ cat /etc/pihole/setupVars.conf |grep WEBPASSWORD}
- pihole webUI settings 1
- add list from https://firebog.net/
- update gravity
- change rouiter setting/DNS
- first => pihole ipv4 and ipv6
- second => google ipv4 and ipv6
- install unbound
sudo apt install unbound -y
sudo vim /etc/unbound/unbound.conf.d/pi-hole.conf
- add config from: https://docs.pi-hole.net/guides/dns/unbound/
sudo service unbound restart
- pihole webUI settings 2 3. change settings/DNS ipv4 = 127.0.0.1#5335 and allow all
- install wireguard
curl -L https://install.pivpn.io | bash
- change sudo vim /etc/sysctl.conf
- uncomment
net.ipv4.ip_forward=1
- uncomment
- generate certificates
- edit .env
- docker compose up