The original post: /r/pihole by /u/uzoufondu on 2024-11-16 16:41:02.

I have a public domain that points to my home’s IP address. I have forwarded ports 443 and 80 on my router (Nest Wifi Pro 6E) to a Proxmox LXC running Nginx Proxy Manager and my router is setup to use my Pihole/Unbound LXC as the DNS server. The problem I am currently having is if I try to access my LXCs and VMs from within my LAN, I am able to do so, but if I try to access the same URLs from outside my LAN, the request fails. The pihole logs show forwarding activity when I connect my phone to the wifi and try to connect to my service, but when I disconnect my phone from wifi and try to connect, there are no logs.

Couple extra things: If I restart the NPM container within the LXC, the requests start to work from outside the LAN for about 5 minutes, then the issues start again. I still do not see any relevant logs in pihole I know I can create a cron job to restart the container every 5 minutes, but that does not seem like a viable solution and more like a patchwork hack. Has anyone encountered an issue like this?

(Within LAN)

xyz.mydomain.com -> router -> Pihole/Unbound (DNS) -> Nginx Proxy Manager -> LXC — This works

(Outside LAN)

xyz.mydomain.com -> router -> Pihole/Unbound (DNS) -> Nginx Proxy Manager -> LXC — Something is broken

Equipment:

Router: Nest Wifi Pro 6E

DNS Server: Pihole/Unbound

Nginx Proxy Manager

Proxmox LXCs

EDIT: PS The NPM LXC shows that the cpu usage is well below 1 percent and RAM usage is very low as well

https://preview.redd.it/t4rc6amnma1e1.png?width=1319&format=png&auto=webp&s=95929250e0065d343d09f8544e2b0b88f0169abf