Install ZeroTier on OpenWRT: Difference between revisions

From Jwiki
No edit summary
No edit summary
Line 10: Line 10:
opkg install zerotier-cli
opkg install zerotier-cli
</syntaxhighlight>
</syntaxhighlight>
2. Edit configuration:
Add network id(s)


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 19: Line 23:
EOF
EOF
</syntaxhighlight>
</syntaxhighlight>
3. Restart service:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">

Revision as of 11:40, 29 August 2024

Prequsites

Install

1. Install ZeroTier:

opkg update
opkg install zerotier-cli

2. Edit configuration:

Add network id(s)

cat > /etc/config/zerotier << EOF
config zerotier 'zt_config'
        option enabled '1'
        list join 'id1'
        #list join 'id2'
EOF

3. Restart service:

uci commit zerotier
service zerotier restart


Debug

zerotier-one -d