Inside connection to domain
-
Hello.
I do have as my main router pfsense. I do have all in one Linux virtual machine which is yunohost (for example Lan IP is 192.168.1.138). I have opened ports for this host on firewall and the domain (for example allinone. Ddns.com) is reachable from outside eg. My mobile phone which uses mobile data can easily access this site (both can be accessible via DNS and IP address when i type it on my public address) . The domain uses ddns which i also configured on firewall. But the problem is when I want to access the site allinone.ddns.com from within my internal Lan network. The domain redirects to the router address. What am I doing wrong?
Thank you -
@spayk
you need split dns
https://docs.netgate.com/pfsense/en/latest/recipes/port-forwards-from-local-networks.html -
@kiokoman Awesome. That's what worked and needed. Grateful for that. Happy new year :)