Assuming that you need to connect the 192.168.1.118 1494 port via the 192.168.1.8 14941 port, you need to enter the following statement on the command line of the 192.168.1.8 host
netsh interface ipv6 install
netsh interface portproxy add v4tov4 listenaddress=192.168.1.8 listenport=14941 connectaddress=192.168.1.118 connectport=1494
---If IPV6 is already installed, the first one does not need to be
---If the operating system has a host firewall turned on, you need to release the inbound connection to TCP 14941
---2008 firewall has a larger change than previous versions, you can refer to the following links:
Http://pcedu.pconline.com.cn/soft/virus/safe/0710/1130476.html
If you want to cancel the port forwarding configured above, you can use the following statement:
netsh interface portproxy delete v4tov4 listenaddress=192.168.1.8 listenport=33891
If you want to see which port forwarding has been configured, you can use the following statement:
netsh interface portproxy show v4tov4
TCP port forwarding from the Windows operating system