admin管理员组

文章数量:1130349

笔记本配置太渣,奈何不是大力士,不能把宿舍主机扛来扛去,所以只好想想能不能远程登陆宿舍主机。
花生壳,要钱又限速,于是果断选择免费开源的ngrok。


一、下载ngrok

官网:https://ngrok
源码:https://github/inconshreveable/ngrok
国内免费服务器:http://ngrok.ciqiuwl

本人是从国内免费服务器下载的,解压后如下

二、配置

打开 ngrok.cfg文件,进行配置,本人配置如下:

server_addr: “tcp.xiaomiqiu: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。


一、下载ngrok

官网:https://ngrok
源码:https://github/inconshreveable/ngrok
国内免费服务器:http://ngrok.ciqiuwl

本人是从国内免费服务器下载的,解压后如下

二、配置

打开 ngrok.cfg文件,进行配置,本人配置如下:

server_addr: “tcp.xiaomiqiu: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