小米球配合usbw简单实现内网穿透
1.https://manager.xiaomiqiu.com/登录后台注册一个账号拿到属于自己的token
2.在主页下载对应版本
3.将 ngrok.conf和ngrok.exe拷到服务器中去 我用的最简单的 直接放到usbw的root目录下
4.打开ngrok.conf文件修改几处
注意:
httptun httpstun 为隧道名称 可以自定义;
remote_port:映射端口;
subdomain:映射前缀;
http https:协议;
如需增减隧道,按照
httptun:
remote_port: 80
subdomain: admin
proto:
http: 127.0.0.1:80
格式修改即可;
server_addr: "ngrok2.xiaomiqiu.cn:5432"
trust_host_root_certs: true
inspect_addr: disabled
auth_token: "1e5167a747ff40b69b1aa9a00efd587e"
tunnels:
httptun:
remote_port: 80
subdomain: ciqiu
proto:
http: 127.0.0.1:8088
httpstun:
remote_port: 443
subdomain: ciqiu
proto:
https: 127.0.0.1:8080
tcptun:
remote_port: 81
proto:
tcp: 127.0.0.1:81
保存
5.将要映射的东西放到usbw的root目录下设置端口号保存重启
6.简单启动方法直接点击一键启动
7.输入刚才的隧道名(我这里就是 httptun)
开启成功输入forwarding 箭头前面的网址即可访问
usbw+小米球工具
链接:https://pan.baidu.com/s/1JP2ww15hEJw57DdzfywP_A 提取码:516f
(原创 侵删 转载注明出处)