docker-pi-hole & openwrt. There is another post about using pi-hole and openwrt in harmony, but it is over a year old, does not discuss docker or dhcp relay: best_practice_to_integrate_with_openwrt. I have an openwrt router and a rpi3 running docker with cloudflared and pi-hole as containers.
06.10.2021 · When setting up Pi-hole in Docker container, you’ll first need to create a Docker volume to store the Pi-hole application and DNS configuration. Open PowerShell as administrator, then run the below commands for Docker to create two volumes ( volume create) named pihole_app and dns_config.
Openwrt also runs it's own webserver for GUI (Luci) access. Steps so far: Create macvlan with: docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o parent=eth0.1 pubnet (note: I don't know if the subnet should be the same as host subnet or a completely different subnet all together.) Create docker-compose for pihole:
My setup:Raspberry Pi 4 B, running OpenWRT Version 21.02, Linux Kernel Version 5.4.154. Network Info: Host subnet=192.168.1.0/24, Host IP=192.168.1.3, Host Gateway=192.168.1.1 I am a little confused with the networking of pihole in docker and …
Below is docker-compose.yml file and connect to nginx-network created early with Nginx Proxy Manager, so I can access to pihole at https://dns.bacnh.com .
15.10.2021 · Before OpenWrt I had an Ubuntu Docker host which was running the PiHole container. The PiHole container was attached to the LAN network using Linux/Docker macvlan. Also for the Ubuntu Host to be able to ping the PiHole container, a workaround posted on stackoverflow was applied which creates a linux macvlan that the container uses.
By setting up dns over tls on your openwrt router, you protect your entire network as all clients will perform dns requests using. 2.1 is the openwrt router and 2.2 a pihole dns.
01.12.2020 · If you’re reading this article, I’m presuming that you know what Pi-hole is, and have a Raspberry Pi setup with Docker installed.. Pi-hole features and benefits. I think the main reasons most people will install Pi-hole is to block ads, increase privacy, and for added security, but here’s a list of features an benefits, if setup correct and maintained: