> ## Content Index
> Fetch the complete content index at: https://blog.k3s.9zf.net/llms.txt
> Use this file to discover other available public pages before exploring further.

# 官方op手动配置zerotier
- URL: https://blog.k3s.9zf.net/-e5-ae-98-e6-96-b9op-e6-89-8b-e5-8a-a8-e9-85-8d-e7-bd-aezerotier/
- Published: 2023-11-05T02:25:58.000Z
- Updated: 2023-11-05T02:25:59.000Z
- Author: liu
- Tags: Uncategorized, #wordpress, #Import 2026-10-29 06:11

商店安装zerotier

vi /etc/config/zerotier 
option enabled '1' 1改成0
list join 'xxxxxxxxx'  引号内改成自己ID
wq保存
/etc/init.d/zerotier enable
/etc/init.d/zerotier start
路由添加接口
名称zerotier
不配置协议
接口选z开头的适配器
防火墙新建zerotier
保存新建
到防火墙选项，修改lan的目标区域，zerotier一定勾选Masquerading，否则客户端不能访问，只能路由自己访问，坑了很久。

![](https://blog.k3s.9zf.net/content/images/wordpress/2023/11/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20231105092900-1024x460.jpg)