TCP port forwarding from the Windows operating system

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.