Post

Pi-Hole

Pi-hole is a free, open-source network-level advertisement and Internet tracker blocking application. It runs on a Raspberry Pi or other Linux-based systems and acts as a DNS sinkhole, blocking unwanted traffic before it reaches a user's device. Pi-hole can also function as a DHCP server, providing IP addresses and other network configuration information to devices on a network. The software is highly configurable and supports a wide range of customizations, such as allowing or blocking specific domains, setting up blocklists and whitelists, and customizing the appearance of the web-based interface. The main purpose of Pi-hole is to protect users' privacy and security by blocking unwanted and potentially malicious content, such as ads, trackers, and malware. It is designed to be easy to set up and use, and can be configured through a web-based interface or through a terminal-based command-line interface.

Pi-Hole

Installation

Default install:

1
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/pihole.sh)"
CPU: 1 cores RAM: 512 MB Disk: 2 GB OS: Debian 13

Configuration

Config file:

1
/etc/pihole/pihole.toml

Notes

To set your password, log in to the container, and type the following: pihole setpassword
With an option to add Unbound
With an option to configure Unbound as a forwarding DNS server (using DNS-over-TLS (DoT)) as opposed to a recursive DNS server
WARNING: Installation sources scripts outside of Community Scripts repo. Please check the source before installing.

Web Interface

Port: 80

This post is licensed under CC BY 4.0 by the author.