<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Mr.2本地的服務暴露到外網(wǎng)

          聯(lián)合創(chuàng)作 · 2023-09-27 02:18

          Mr.2 可以幫你將本地的服務暴露到外網(wǎng)供訪問,支持 TCP/UDP, 當然也包括 HTTP.

          Server

          $ mr2 server -l :9999 -p password
          

          Client

          # Local server is 127.0.0.1:1234, expect to expose: server_address:5678
          $ mr2 client -s server_address:port -p password -P 5678 -c 127.0.0.1:1234
          
          # Local web root is /path/to/www, expect to expose: server_address:5678
          $ mr2 client -s server_address:port -p password -P 5678 --clientDiretory /path/to/www
          

          示例

          訪問局域網(wǎng) HTTP 服務

          $ mr2 client -s server_address:port -p password -P 5678 -c 127.0.0.1:8080
          
          # then
          Your HTTP server in external network is: server_address:5678
          

          SSH 訪問本地機器

          $ mr2 client -s server_address:port -p password -P 5678 -c 127.0.0.1:22
          
          # then
          $ ssh -oPort=5678 user@server_address
          

          訪問本地 DNS 服務器

          $ mr2 client -s server_address:port -p password -P 5678 -c 127.0.0.1:53
          
          # then
          Your DNS server in external network is: server_address:5678
          
          $ dig github.com @server_address -p 5678
          

          通過 HTTP 訪問本地目錄:

          $ mr2 client -s server_address:port -p password -P 5678 --clientDirectory /path/to/www
          
          # then
          A HTTP server in external network is: server_address:5678
          瀏覽 19
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  久久久无码精品成人A片小说 | 国产美女操B视频 | 97超碰在| 爱情岛成人亚洲WWW论坛 | 美女艹艹艹 |