Install ZeroTier on OpenWRT: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Category:OpenWRT]] | |||
== Prequsites == | == Prequsites == | ||
| Line 10: | Line 12: | ||
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 25: | ||
EOF | EOF | ||
</syntaxhighlight> | </syntaxhighlight> | ||
3. Restart service: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
uci commit zerotier | uci commit zerotier | ||
service zerotier restart | service zerotier restart | ||
</syntaxhighlight> | |||
== Debug == | |||
<syntaxhighlight lang="bash"> | |||
zerotier-one -d | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 11:49, 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