add port:
netsh interface portproxy add v4tov4 listenport=3000 listenaddress=0.0.0.0 connectport=3000 connectaddress=172.20.216.249
delete port:
netsh interface portproxy delete v4tov4 listenport=3000 listenaddress=0.0.0.0
show port:
netsh interface portproxy show all
ex.
PS C:\Windows\system32> netsh interface portproxy show all
Listen on ipv4: Connect to ipv4:
Address Port Address Port
--------------- ---------- --------------- ----------
0.0.0.0 3000 172.20.216.249 3000
0.0.0.0 8080 172.20.216.249 8080
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.