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.
Requirements: OpenWRT router (Router A and Router B needs different ips to avoid ambiguity or subnet conflicts)
Installation of ZeroTier onto OpenWRT router
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