Windows端口转发

  1. 新增端口转发:
    首先打开命令提示符(cmd)
    netsh interface portproxy add v4tov4 listenport=监听端口 connectaddress=转发到的地址 connectport=转发到的端口
    例子: netsh interface portproxy add v4tov4 listenport=9988 connectaddress=192.168.88.110 connectport=9988

  2. 查看转发了哪些端口
    netsh interface portproxy show all

  3. 删除转发规则
    netsh interface portproxy delete v4tov4 listenaddress=192.168.88.110 listenport=9988

https://blog.csdn.net/qq_31432773/article/details/122635713

posted @ 2022-10-09 09:38  ChasingDreams  阅读(180)  评论(0编辑  收藏  举报