First, use mobile data to verify public IP mapping with authorized access. Then, query the same domain from LAN. If both internal and external DNS resolutions point to the same public IP, clients accessing from the internal network may require NAT reflex. If the NAS is accessed directly by name within the internal network, use separate DNS resolution to avoid the issue.
See where the address redirects back to
OpenWrt's redirect can enable reflection based on configuration and restrict it to valid regions. When both internal and external DNS are managed independently, LAN DNS resolutions should return NAS internal IP addresses; the certificate continues to use the same domain name. In dual-stack environments, IPv6 DNS lookups and firewall directions must also be considered.
Test the same public hostname from inside and outside
Access a test service on your NAS using mobile data. Then resolve the same hostname from your home LAN and try the same connection. Record the addresses, router port forwards, and TLS results for both paths.
LAN and external clients access services from the same domain, recording DNS responses, destination addresses, and the source addresses seen by NAS. To avoid NAT reflection altering source addresses and affecting audit trails, use internal DNS resolution to maintain visibility. When rolling back, restore original DNS resolution or port forwarding configuration.
If it works outside and fails inside, check local DNS and NAT reflection separately. To keep using the same hostname on the LAN, confirm that local DNS points to the intended service and verify that the service presents a certificate for that hostname.
Use the Port Forwards page to locate the rule for the public service.

Comments