rasp-007

raspberry pi 7

Pi-Hole

Pi-Hole currently being run here in docker compose

##Docker compose file##
sudo nano docker-compose.yml

version: "3"
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "80:80/tcp"
- "443:443/tcp"
environment:
TZ: 'America/New_York'
WEBPASSWORD: 'SecurePasswordHere' #passwordfor the web api
ServerIP: 'StaticIP here'
# Volumes store your data between container upgrades
volumes:
- './etc-pihole/:/etc/pihole/'
- './etc-dnsmasq.d/:/etc/dnsmasq.d/'
dns:
- 127.0.0.1
- 8.8.8.8 #google dns
restart: unless-stopped

PiVPN

PiVPN is being run from this pi

This was an easy solution to get VPN access to devices in my home

This was done on rasp-007 so it could integrate easily with Pi-Hole, all devices on VPN use dns from Pi-Hole and get ad blocking on the go