笔记本配置太渣,奈何不是大力士,不能把宿舍主机扛来扛去,所以只好想想能不能远程登陆宿舍主机。
花生壳,要钱又限速,于是果断选择免费开源的ngrok。
一、下载ngrok
官网:https://ngrok.com
源码:https://github.com/inconshreveable/ngrok
国内免费服务器:http://ngrok.ciqiuwl.cn
本人是从国内免费服务器下载的,解压后如下

二、配置
打开 ngrok.cfg文件,进行配置,本人配置如下:
server_addr: “tcp.xiaomiqiu.cn:4443”
trust_host_root_certs: false
tunnels:
http:
proto:
http: 8080
subdomain: wense
ssh:
remote_port: 53333
proto:
tcp: 22
mstsc:
remote_port: 55555
proto:
tcp: “127.0.0.1:3389”
其中mstsc下的remote_port为远程桌面的端口

本文介绍了如何通过ngrok在Windows10上实现远程桌面连接。由于作者的笔记本性能不足,选择了免费开源的ngrok代替花生壳。详细步骤包括从国内服务器下载ngrok,配置ngrok.cfg文件设定远程桌面端口,最后成功通过ngrok隧道进行远程桌面访问。
最低0.47元/天 解锁文章
4692

被折叠的 条评论
为什么被折叠?



