zerotier by config
opkg update
opkg install zerotier
opkg install ipset
# vi /etc/config/zerotier
config zerotier 'sample_config'
option enabled '1'
list join 'xxxxxxx'
/etc/init.d/zerotier restart
/etc/config/firewall
config zone 'vpn_zone'
option name 'zerotier'
option input 'ACCEPT'
option forward 'REJECT'
option output 'ACCEPT'
option device 'zt+'
option masq '1'
option mtu_fix '1'
config forwarding
option dest 'zerotier'
option src 'lan'
config forwarding
option dest 'lan'
option src 'zerotier'
/etc/init.d/firewall restart
zerotier by cmd
zerotier-one -d
zerotier-cli join $netword_id
smb4
https://openwrt.org/docs/guide-user/services/nas/cifs.server
bind interfaces only = no