VPN Tunnel

ZeroTier is a software-defined networking (SDN) solution that creates secure virtual networks using encrypted P2P tunnels, without requiring public IP addresses.

By joining a ZeroTier network, your router acts as a traffic gateway, enabling remote LAN access or interconnecting subnets across physical locations.

Example of Setting ZeroTier

Navigate to the router menu: SYSTEM > Terminal, enter the username: root, and log in with the password you set.

1. Zerotier Management

Visit www.zerotier.com and log in.

You will notice that networks are already configured by default. Select one of these or create your network, then save the Network ID.

2. Install ZeroTier

All commands are executed in the SYSTEM >Terminal section of the router menu.

opkg update
opkg install zerotier

3. Enable the ZeroTier

Since ZeroTier is disabled by default, we need to activate the ZeroTier service.

uci set zerotier.sample_config.enabled='1'
uci commit zerotier
/etc/init.d/zerotier restart

4. Join Network

zerotier-cli join <Network ID>

Here, we use the network with the ID 35c192ce9b1ff07f in step 1 as an example.

zerotier-cli join 35c192ce9b1ff07f
Response
200 join OK

5. Authorize Device

Click on the networks we have selected. You can view the member information in Members. Select the member and click the Authorize button to authorize the device.

Once authorized, we can connect with each other via the Managed IPs assigned by Zerotier.

We can customize IP addresses or specific policies through ZeroTier's management platform. Click Settings to manage Managed IPs, and click Flow Rules to view related policy information.

To delete a member from the network, click the Edit button for that member, select the Delete Member option, and then click the Delete Member button.

Last updated