@GreatBlue@infosec.pub
Great Blue
member since 7 Jul 2023 09:20
comments
- on My domain is accessible from external networks but not from my internal network. Might anyone know why? in c/selfhosted@lemmy.world · 30 Aug 2026
-
on My domain is accessible from external networks but not from my internal network. Might anyone know why? in c/selfhosted@lemmy.world · 30 Aug 2026
My guess for the ping is, that the domain resolves to the IP of your OPNsense-router, hence it’s not your server responding, but the router.
I haven’t set up port forwarding for OPNsense, but my guess would be it’s only working for connections from the wan interface or some local rebind protection. You could set up a DNS-override in the unbound settings for your domain and redirect to the internal IP-address, no need to set up an additional DNS-server.
Just looked it up.
Under Services > Unbound DNS > Overrides you can add an entry for your server as an DNS A record and be done with