Install ZeroTier on OpenWRT: Difference between revisions
No edit summary |
|||
| Line 9: | Line 9: | ||
opkg update | opkg update | ||
opkg install zerotier-cli | opkg install zerotier-cli | ||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
cat > /etc/config/zerotier << EOF | |||
config zerotier 'zt_config' | |||
option enabled '1' | |||
list join 'id1' | |||
#list join 'id2' | |||
EOF | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
uci commit zerotier | |||
service zerotier restart | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 11:36, 29 August 2024
Prequsites
Install
1. Install ZeroTier:
opkg update
opkg install zerotier-cli
cat > /etc/config/zerotier << EOF
config zerotier 'zt_config'
option enabled '1'
list join 'id1'
#list join 'id2'
EOF
uci commit zerotier
service zerotier restart