Install ZeroTier on OpenWRT: Difference between revisions
No edit summary |
|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Category:OpenWRT]] | |||
== Prequsites == | == Prequsites == | ||
| Line 9: | Line 11: | ||
opkg update | opkg update | ||
opkg install zerotier-cli | opkg install zerotier-cli | ||
</syntaxhighlight> | |||
2. Edit configuration: | |||
Add network id(s) | |||
<syntaxhighlight lang="bash"> | |||
cat > /etc/config/zerotier << EOF | |||
config zerotier 'zt_config' | |||
option enabled '1' | |||
list join 'id1' | |||
#list join 'id2' | |||
EOF | |||
</syntaxhighlight> | |||
3. Restart service: | |||
<syntaxhighlight lang="bash"> | |||
uci commit zerotier | |||
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