Set up Pihole on Proxmox container with clear instructions, from template download to DNS setup, and block ads across your entire network. Our Proxmox Support Team is always here to help you.

Pihole on Proxmox Container Made Simple for Your Home Network

Running Pi-hole on Proxmox container is one of the best ways to keep your network clean from ads and trackers. Proxmox is usually online 24/7, which makes it a perfect place to host Pi-hole. Below you’ll find a direct and practical walkthrough to get Pi-hole up and running on Proxmox without skipping any important detail.

pihole on proxmox container

What is Pi-hole?

Pi-hole is a DNS sinkhole that blocks ads, trackers, and unwanted content using blocklists. It lets you customize DNS queries, whitelist safe domains, and even monitor your network’s activity.

Start by Getting the Container Template

First, download the Ubuntu 20.04 container template inside Proxmox. Go to your “local” storage, click on CT Templates, then select Templates on the top bar. From the list, pick Ubuntu 20.04 and download it.

Create the Container in Proxmox

Next, right-click your Proxmox node and selec Proxmox node and selectt Create CT. Here’s how you configure it step by step:

1. General Setup: Give your container a name and root password.

2. Template: Choose the Ubuntu 20.04 template you just downloaded.

3. Disk: Assign 2–4GB of disk space, which is more than enough for Pi-hole.

4. CPU: Stick with 1 core or bump it to 2 if you like.

5. Memory: Minimum is 512MB. If you prefer, increase to 1–2GB.

6. Network: Always configure a static IP so Pi-hole doesn’t break when the IP changes. For example:

  • IP: 192.168.1.10
  • Gateway: 192.168.1.1 (adjust as per your setup).

7. DNS & Confirmation: Keep defaults for DNS, review details, then click Finish.

Power on the container and open the console to begin installation.

Update and Prepare the Container

Inside the console, log in as root and run:

apt update && apt upgrade

Then install curl:

apt install curl

Install Pihole

Now install Pi-hole with the official script:

curl -sSL https://install.pi-hole.net | bash

During setup, pay attention to these options:

  • Static IP: Already done earlier.
  • Upstream DNS Provider: Pick any, like Google DNS.
  • Blocklists: Default “StevenBlack’s Unified Host List” is fine.
  • Admin Web Interface: Recommended to enable.
  • Web Server: Required if you enable web interface.
  • Enable Logging: Turn it on.
  • Privacy Mode: Choose the level you prefer, for example “Show Everything.”

At the end, note down the admin password shown.

Access Pi-hole Web Interface

Head over to your browser and open:

http://pihole_ip/admin

Use the password provided during installation.

Point pfSense to Pi-hole

If you use pfSense and want your entire network to rely on Pi-hole, update your DHCP server. In pfSense, go to Services > DHCP Server, scroll to Servers, and enter your Pi-hole IP as the first DNS server. Add a backup DNS in the second box.

Reconnect devices or wait for DHCP lease renewal to apply it.

Configure a Linux Machine for Pi-hole

On Linux, edit your resolv.conf:

sudo nano /etc/resolv.conf

Update the first entry to your Pi-hole IP.

Configure a Windows Machine for Pi-hole

On Windows, right-click the network icon → Open Network & Internet Settings → Change Adapter Options.

1. Right-click your network adapter → Properties.

2. Select Internet Protocol Version 4 (TCP/IPv4) → Properties.

3. Choose Use the following DNS server addresses and enter:

  • Preferred DNS: Pi-hole IP
  • Alternate DNS: Backup server

[If needed, Our team is available 24/7 for additional assistance.]

Conclusion

By setting up Pihole on Proxmox container, you’ve built a powerful ad-blocking DNS server that protects your entire network. From pfSense to individual Linux and Windows machines, everything can now run smoother without ads and trackers getting in the way.