Re: [問題] port forwarding

看板Network作者 (麵筋)時間17年前 (2008/04/22 00:48), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
自問自答 VirtualBox內的網路配接卡需選擇NAT模式 然後到VirtualBox的安裝目錄下 建立 VBM.bat 內容為以下紅色字 VBoxManage setextradata host "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP VBoxManage setextradata host "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22 VBoxManage setextradata host "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 2222 以上總共為三行,因BBS單行長度限制而切成六行 其中「host」為主機名稱,三行需相同 「TCP」為通訊協定 「22」為GuestPC之port 「2222」為HostPC之port 「ssh」為服務名稱,三行需相同,若需建立多個port forwarding 可以三行為一組,每組皆有不同之服務名稱 --     ◣◢◣ ◣◢◣ ╲   ◣ ╲  ◣ ╲  ◣ ╲        █◣◢█  █◣◢█  ████  ███ ███  ███      █◤█  █◤█  █╲ ◣  █╲█ ╲ ╲█  █ █      █  █  █  █  ███ ███  ███  █ █      █  █  █  █  █ ╲█ ╲ ╲█  █ ◣  █╲█     █ █ █ █ ████ ███ ███ ███ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.59.196.140
文章代碼(AID): #183CLU6O (Network)
文章代碼(AID): #183CLU6O (Network)