Skip to content
Contents
GuidesOpenWrt

Reach only your NAS over Tailscale or ZeroTier on OpenWrt without a public IP

First, express the requirement as an access relationship, for example, a phone accessing the HTTPS port of a NAS.

First, express the requirement as an access relationship, for example, a phone accessing the HTTPS port of a NAS. The Tailscale subnet router and ZeroTier managed network routing can both inject specific internal network prefixes. Direct connections or relay connections depend on the underlying link. Both cloud identity and local firewall must be authorized.

Publish the smallest prefix first

Install packages tailored to the device's architecture and available space, and authorize the device according to the project's onboarding procedure. Release the required network subnets, approve remote identities, and then allow specific services in OpenWrt's firewall. Verify that the remote and home address ranges do not overlap, and confirm the NAS's return path.

Verify that remote access is restricted to approved NAS ports

On your own NAS, select one authorized service and one unauthorized port. Perform tests from an approved terminal via the overlay network using a cellular connection, testing once for the authorized service and once for the unauthorized port.

Switch the phone to cellular network and use an approved account to access the NAS. The second test account and management backend path should be denied according to policy. Check direct or relayed connection status, then verify original access is revoked after removing the test device.

Approved ports are available, but router administration page remains isolated. If failure occurs, first verify that routing is approved, then check the return path from the site. Installing a overlay network does not require opening the entire management LAN.

Check the live tailnet status and ping the second router, identifying the path in use. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Check the terminal output
Check the live tailnet status and ping the second router, identifying the path in use. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Check the live tailnet status and ping the second router, identifying the path in use. · OpenWrt 25.12.6 x86/64 (QEMU/KVM). Open the original image

Reference

Related guides

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments