Pi-Hole
Step 1 - Create Proxmox Container
Click "Create CT" in top right corner.
General - set Hostname and Password
Template - Debian 11
Disks - local-lvm, 2GB
CPU - 1 Core
Memory - 256MB, 512MB swap
Network - Static IP address required - 192.168.0.2 Gateway 192.168.0.1
DNS - use host settings (DNS settings will be applied in PiHole itself)
Step 2 - Installing PiHole
Login with username 'root' and password set earlier
apt update
apt upgrade
Add the following lines to /etc/sysctl.conf to disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Install curl
apt install curl
Download and run PiHole install script
curl -sSL https://install.pi-hole.net | bash
PiHole install script will run and ask a number of questions.
Upstream DNS - Cloudflare
Default Blacklists - use both
