美文网首页
ngrok 客户端使用

ngrok 客户端使用

作者: 唐猫_f467 | 来源:发表于2018-08-24 16:19 被阅读0次

    国内免费版

    http://ngrok.ciqiuwl.cn/

    下载客户端后,解压,双击《小米球Ngrok启动工具.bat》即可按提示启动80端口转发

    修改配置文件如下,然后命令行方式,ngrok -config="ngrok.cfg" start-all 可以启动配置文件中的所有端口转发。

    tunnels:

        ssh:

          remote_port: 8090

          proto:

            tcp: "192.168.33.12:22"  //虚拟机端口

        mstsc:

            remote_port: 8081     

            proto:

            tcp: "192.168.0.104:3389" //本地远程桌面

        web:

        proto:

          http: 80

    tcp端口转发方式,部分时候无法连通到网络,不知道什么原因,有时候可以。

    相关文章

      网友评论

          本文标题:ngrok 客户端使用

          本文链接:https://www.haomeiwen.com/subject/ytqiiftx.html