Skip to main content Remote access with a Zerotier OpenWRT router : r/ShieldAndroidTV

Remote access with a Zerotier OpenWRT router

I made a post on how to use the in-built vpn server of a router along with SCRCPY to remote access the Nvidia Shield. This time, i will show you how you can achieve the same thing but with an OpenWRT router and Zerotier. This makes the OpenWRT a Zerotier router aswell, meaning you will be able to reach the LAN devices that's connected to it. When the zerotier is active, you can call adb connect and stream the Nvidia Shield with scrcpy from another zerotier device such as laptop/pc.

https://imgur.com/a/BAmx3Ut

Requirements: OpenWRT router (Router A and Router B needs different ips to avoid ambiguity or subnet conflicts)

Installation of ZeroTier onto OpenWRT router

  1. Follow this setup: https://kevron2u.com/set-up-a-zerotier-network-on-openwrt/

  2. Go into Luci->Network->Firewall

  3. Make sure Zerotier => lan is set to {accept, accept, accept}

Zerotier settings

Example) 10.147.17.* ZT range, 192.168.10.1 Router, 10.147.17.30 ZT Router

10.147.17.0/24 (LAN)

192.168.10.0/24 via 10.147.17.30

OpenWRT crontab settings

This is optional, but because Zerotier tends to go offline use crontab to schedule a restart of the zerotier after some time. I personally picked every 3rd hour.command: crontab -e

0 */3 * * * /etc/init.d/zerotier restart

PSA, Redditors: You don't need a business to have a website. All you need is yourself. And with Squarespace, you can easily create a website that reflects your personal brand, individuality, and identity–all by using its intuitive design, AI, and expressibility tools.
Thumbnail image: PSA, Redditors: You don't need a business to have a website. All you need is yourself. And with Squarespace, you can easily create a website that reflects your personal brand, individuality, and identity–all by using its intuitive design, AI, and expressibility tools.
Sort by:
Best
Open comment sort options

Was looking for a clear guide on how someone would setup a router with zero tier, this is the first one i've come across after multiple searches. thanks for posting!

Been a while since i made it hopefully it still works, i dont own a openwrt router anymore switch over to Asus with Fusion VPN + Wireguard but glad it helped 🙂

Of course you can always tweak the settings, like cronjob etc

More replies