Alles anzeigenHello, the problem is that Pi-Hole is running on the Docker network by default. To see individual clients correctly, you have to run Pi-Hole on a macvlan network with your own IP
Add macvlan:
Codedocker network create -d macvlan --subnet=10.1.1.0/24 --gateway=10.1.1.1 -o parent=eth0 macvlan
Enter your network range after the IP address 10.1.1.0
Add Pi-Hole:
CodeAlles anzeigendocker run -d \ --name PiHole \ --hostname pihole \ --restart always \ --network="macvlan" --ip="10.1.1.5" \ -e TZ=Europe/Prague \ -e WEBPASSWORD="your password" \ -e ServerIP=10.1.1.5 \ -e IPv6=true \ -v ./etc-pihole/:/etc/pihole \ -v ./etc-pihole/:/etc/dnsmasq.d \ pihole/pihole:latest
Hello, Do I have to create a new docker or can I use the one i have?
Thanks you.