Truenas scale 安装 Tailscale 内网穿透远程连接SMB服务

起源

没有公网IP,不在同一个路由器,没法远程连接电脑或者服务器。之前一直使用 zerotier, 但是这次使用 Truenas scale 安装 zerotier, 每次重启都变化IP,一直没解决。转投 tailscale。

注册

YouTube有教程,内地打不开。

Outlook邮箱注册 -> 下载台式机软件,安装 -> Tailscale 网页账户登录 -> Setting -> Keys
这个Key在Truenas scale上需要用
Truenas scale 安装 Tailscale 内网穿透远程连接SMB服务_第1张图片

Truenas scale 安装 Tailscale

Apps -> Available Applications 中间搜索 Tailscale,我安装的是 Truenas community 版本
Truenas scale 安装 Tailscale 内网穿透远程连接SMB服务_第2张图片
修改设置
注意勾选 Host Network
Truenas scale 安装 Tailscale 内网穿透远程连接SMB服务_第3张图片

Tailscale 查看IP

登录Tailscale查看设备,一个是电脑的,一个是Truenas的。

右边三个点,使秘钥不过期,enable key expiry。

Truenas scale 安装 Tailscale 内网穿透远程连接SMB服务_第4张图片
修改路由
Truenas scale 安装 Tailscale 内网穿透远程连接SMB服务_第5张图片

测试

Windows Ping
Truenas scale 安装 Tailscale 内网穿透远程连接SMB服务_第6张图片
Windows 文件访问

Truenas scale 安装 Tailscale 内网穿透远程连接SMB服务_第7张图片

后续

重启 Truenas scale 后,IP没有改变,任然可以访问

你可能感兴趣的:(NAS,Truenas,scale,Tailscale)