4

[教程] 随时随地通过域名远程访问 nas、openwrt、alist 等家庭内网设备

 6 months ago
source link: https://www.v2ex.com/t/1018238
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  NAS

[教程] 随时随地通过域名远程访问 nas、openwrt、alist 等家庭内网设备

  lenoraarmstro999 · 15 小时 20 分钟前 · 1346 次点击
一直使用 zerotier 访问家庭内网设备,但这种方式需要每个设备都要安装 zerotier 客户端,即使 zerotier 设置 moon 服务器以后,网速也不是特别快,对于远程看存放在家里 nas 中的视频时候,还是比较鸡肋,所以折腾下直接通过域名访问家庭设备。

大致流程如下:
1 、验证家庭网络是否有公网 ipv4
2 、爱快高级应用->动态域名设置,将公网 ip 与域名绑定;
3 、安装 1panel ,在 1panel 中配置反向代理,证书申请,开启 https ;
4 、若要开放公网的主机,网关为旁路由 openwrt ,在爱快网络设置->端口映射->DMZ 主机,设置为 openwrt 的主机 ip ,并在 openwrt 中设置端口映射;
5 、若要开放公网的主机,网关为主路由爱快,在爱快网络设置->端口映射中,设置内外网端口映射;

把详细配置过程整理了视频:
youtube 视频教程网址: B 站视频教程网址: https://www.bilibili.com/video/BV1yF4m157zb/?vd_source=ca0800be37b7ee9119fafa3d2262ff

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK