Example: ZeroTier remote maintenance of LM5 without opening the ports on your router

Task

You can access your LogicMachine from the internet in several ways. One is port forwarding on your central router (not recommended due to lack of security). Another way is using VPN connection from your laptop to your central router (very secure, but requires access to the central router). There is also OpenVPN connection possibility between LogicMachine (client) and server (in this case you need to have OpenVPN server somewhere on the internet; this requires quite complex setup work and involves regular maintenance costs).

The most optimal way is to use ZeroTier which provides the same security level, but makes it very easy in setting up.

Step-by-step guide

1. Create new ZeroTier account here

2. Go to Networks and Create a Network

3. Click on the Network ID

4. Give your network a name and a description

5. All other settings are optional

6. Install extra packages for Logic machine:
http://dl.openrb.com/lm-20-imx6/pkg/libstdcpp_8.4.0-1_imx6.ipk
http://dl.openrb.com/lm-20-imx6/pkg/zerotier_1.4.6-6_imx6.ipk
Go to System Configuration -> System -> Packages:

Reboot after installation

7. Clear browser cache!

8. Copy the Network ID from ZeroTier website

9. Go to System Configuration -> Services -> ZeroTier
Enable Service Status and paste the network ID in to Join Network ID 1. Select OK to save

10. Go back to ZeroTier website, Networks and scroll to Members. You may need to refresh the browser. There will be info: One device has joined the network

11. Connected device must be authenticated

12. Now the status in LogicMachine ZeroTier should be OK

The IP is the remote IP of LogicMachine.

13. To join your PC to the same network, go to Download section in ZeroTier and download Windows application and install it

14. Start the application and it will automatically run in Windows taskbar. Right click on it and select Join Network

15. Paste your network ID. If you want to use ZeroTier to download ETS application select Allow Global. Click Join afterwards

16. Now go to ZeroTier to authenticate your PC

17. Connect to LM by using your Managed IP, The same IP can be used as interface in ETS