码迷,mamicode.com
首页 > 其他好文 > 详细

How to map host ip and port to Hyper-V

时间:2015-08-30 11:14:09      阅读:139      评论:0      收藏:0      [点我收藏+]

标签:

1.1       Add an port proxy

netsh interface portproxy add v4tov4 listenport=hostport listenaddres=hostip connectaddress=hypervip connectport=hypervport

 

example:

C:\Windows\system32>netsh interface portproxy add v4tov4 listenport=22 listenaddres=192.168.0.103 connectaddress=192.168.137.52 connectport=22

 

1.2       Check the port proxy

netsh interface portproxy show v4tov4

 

1.3       Delete a port proxy

netsh interface portproxy delete v4tov4 listenaddress=hostip  listenport=hostport

How to map host ip and port to Hyper-V

标签:

原文地址:http://www.cnblogs.com/iwasmu/p/4770440.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!