A mobile device accessing the NAS requires external reachability to the WireGuard listening port on OpenWrt. Check for public or reachable IPv6 addresses, and ensure forwarding is enabled at the previous-layer gateway. If behind an ISP's shared IPv4 network, optional options include authorized IPv6 paths or remote access with relay support.
A standalone endpoint configuration for the phone
The router assigns only a tunnel address and corresponding public key to the mobile device. The client enters the home network segment into AllowedIPs and adds the router's public key along with the reachable endpoint. The WAN interface enables only the actual UDP ports being listened on; the tunnel zone allows traffic for NAS services. The QR code is generated locally; since the client configuration contains the mobile device's private key, it should be imported on a trusted screen, and never saved to a shared gallery.
Test initial WireGuard access from mobile data
Give the phone a unique key and an overlay address. Disconnect it from home Wi-Fi, bring up the tunnel, and use wg show on the router to check the handshake and byte counters. Then access one authorized LAN service.
From the phone on a mobile network, connect to the NAS over the port the service actually uses. On the router, use wg show to verify the handshake and the byte counters. From the phone, also check that subnets outside its allowed access are unreachable. If the phone is lost, remove its WireGuard entry and try to connect again from the revoked configuration in the lab.
If the handshake succeeds and the service is unreachable, check LAN firewall rules and the return route. If there is no handshake, check the public endpoint, upstream NAT, and the inbound UDP path. Keep a tested alternative way in.
Check the terminal output

Lab record

GeeksMeta's two-site OpenWrt 25.12.6 VM test. Both LAN clients reached the remote HTTP service over IPv4 and IPv6. Removing A's IPv4 route to B stopped IPv4 HTTP while the handshake and IPv6 access persisted. IPv4 returned when the route was restored. The screenshot shows site A's live LuCI interface list.
Comments