Windows配置連接埠轉寄

來源:互聯網
上載者:User

標籤:connect   安裝環境   1.3   sha   vpd   color   img   技術   9.png   

1.用windows的netsh實現
優點:
(1)部署簡單。Windows內建,支援IPv4和IPv6
(2)不用重啟機器,還長記性。命令即時生效,重啟系統後配置仍然存在.
缺點:
(1)不支援UDP
(2)XP/2003需要先安裝IPV6,Win7以上系統內建.

執行命令:

(1)安裝環境支援(如果已經安裝IPV6,可以不執行)
netsh interface ipv6 install

(2)查看已配置的“連接埠映射”清單
netsh interface portproxy show v4tov4

(3)添加連接埠映射
netsh interface portproxy add v4tov4 listenaddress=10.139.1.30 listenport=13016 connectaddress=172.16.13.16 connectport=22
(4)查看已經配置的連接埠轉寄
netsh interface portproxy show v4tov4

(5)刪除連接埠映射
netsh interface portproxy delete v4tov4 listenaddress=10.139.1.30 listenport=13016

Windows配置連接埠轉寄

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.