Windows自带的端口转发工具netsh使用方法 |
微软Windows的netsh是一个命令行脚本实用工具。 使用过程下面的代码在windows下运行后可以讲27.155.88.1的14841端口转发到27.155.88.2的3389端口上 netsh interface ipv6 install XP之后的系统,就不需要这个命令 如果要取消上面的端口转发,使用下面的代码 netsh interface portproxy delete v4tov4 listenaddress=27.155.88.1 listenport=14841 如果想查看已经配置了哪些端口转发,可以用如下语句: netsh interface portproxy show v4tov4 |