win7自带端口转发

2,289次阅读
没有评论

设置端口转发:
netsh interface portproxy
add v4tov4 listenport=55900 listenaddress=192.168.0.220 connectport=5900 connectaddress=192.168.0.240
add v4tov4 listenport=55901 listenaddress=192.168.0.220 connectport=5900 connectaddress=192.168.0.250
删除端口转发
netsh interface portproxy del v4tov4 listenport=55900 listenaddress=192.168.0.220
netsh interface portproxy del v4tov4 listenport=55901 listenaddress=192.168.0.220
查看端口状态
netstat -ano|find “55900”
netstat -ano|find “55901”

正文完
 0
评论(没有评论)
验证码