8

DDNSTO内网穿透,无需公网IP,实现内网远程设备控制

 2 years ago
source link: https://blog.qiaohewei.cc/2021/03/15/openwrt_ddnsto/
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.
1614406329-update_info.jpg

DDNSTO内网穿透是面向于小白用户的一款内网穿透应用,更简单,更快速,更便宜,小白也能 10 秒上手,满足大部分人需要在外网控制内网设备的需求。DDNSTO适用于需要在外网控制内网设备并且没有公网IP的用户,本文以OpenWRT为例讲解DDNSTO的使用方式。

一、DDNSTO优势

  • 无需公网 IP,不被网络环境限制
  • 无需购买域名或服务器,省去了服务器年费和带宽要求以及域名购买、备案等等繁琐操作
  • 全部的安装、配置、使用都在浏览器完成,对小白用户非常友好
  • 支持http2,访问家庭内部网络速度更快
  • 借助独家远程应用中心配合,可以支持远程电脑桌面,远程下载,远程文件管理等更多丰富的功能

二、OpenWRT安装DDNSTO

1、登入OpenWRT并进入TTYD终端,复制下方一键安装脚本,并粘贴至终端内执行,安装完毕后刷新页面,插件将出现在服务内,如果安装失败,请使用备用命令安装。

sh -c "$(curl -sSL http://firmware.koolshare.cn/binary/ddnsto/openwrt/install_ddnsto.sh)"
sh -c "$(curl -sSL http://firmware.koolshare.cn/binary/ddnsto/openwrt/install_ddnsto.sh)"
wget https://raw.githubusercontent.com/linkease/ddnsto_all_in_one_script/master/install_ddnsto.sh&& sh install_ddnsto.sh
wget https://raw.githubusercontent.com/linkease/ddnsto_all_in_one_script/master/install_ddnsto.sh&& sh install_ddnsto.sh

三、获取DDNSTO token

1、访问 DDNSTO官网 并登录,登录后可在右上角看到令牌,复制此令牌备用。

四、配置OpenWRT DDNSTO插件

1、进入OpenWRT--》服务DDNS.to内网穿透,勾选启用,并将令牌粘贴,保存并应用。

2、服务启动成功后,进入DDNSTO后台会显示已绑定的设备

三、添加域名映射

1、点击添加域名映射并填入想要的域名前缀。

域名前缀注意事项

1、请勿输入"http://"前缀!

2、请勿带有任何后缀!

3、请勿重复添加相同域名!

4、输入的英文,下划线,数字,中划线均可(长度大 于6个字符),但不可输入其他特殊符号。

3、添加目标主机地址(内网设备地址),设置完成后提交。

目标主机地址注意事项

添加目标主机地址时,必须输入 http:// 或 https://前缀

正确示例:http://192.168.88.2.1:8000 或 https://www.host.com

错误示例:192.168.88.2.1:8000 或 http://abc.cс/bcd

4、提交完毕后DDNSTO将反馈一个二级域名用于外网远程访问,访问此域名并经过验证后即可进行远程管理。

五、其他应用服务

1、也可以根据自己的使用需求新增其他类型内网穿透服务,根据引导配置即可。

Enjoy~

转载请保留原文地址:https://blog.qiaohewei.cc/2021/03/15/openwrt_ddnsto/


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK