在windows中進行端口轉發

1、安裝ipv6

netsh interface ipv6 install

2、portproxy相關命令

配置端口轉發code

netsh interface portproxy add v4tov4 listenaddress=192.168.0.1 listenport=8001 connectaddress=192.168.0.2 connectport=8001

刪除端口轉發ip

netsh interface portproxy delete v4tov4 listenaddress=192.168.0.1 listenport=8001

查看已配置的端口轉發配置

netsh interface portproxy show v4tov4
相關文章
相關標籤/搜索