Harrison

Getting Client Source in a rootless container

I ran into an interesting problem setting up PiHole on Podman. Pihole was not seeing the client IPS. This is due to how rootless containers work. Adding --network slirp4netns:port_handler=slirp4netns forwards the source address. After this, I enabled Pihole listening on all interfaces. I am now able to group devices and have different block lists. Do note that this is slower, don't use the slirp4netns network unless necessary.

An error has occurred. This application may no longer respond until reloaded. Reload 🗙