Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Windows configure port forwarding

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Windows netsh implementation

Advantages:

1) Deployment is simple. Windows comes with IPv4 and IPv6 support

(2) No need to restart the machine, but also long memory. Command takes effect immediately, configuration still exists after system restart.

Disadvantages:

(1) UDP is not supported

(2) XP/2003 requires IPV6 to be installed first, Win7 or above comes with the system.

Execute orders:

(1) Installation environment support (if IPV6 is already installed, it can be omitted)

netsh interface ipv6 install

(2) View the configured "port mapping" list

netsh interface portproxy show v4tov4

(3) Add port mapping

netsh interface portproxy add v4tov4 listenaddress=10.139.1.30 listenport=13016 connectaddress=172.16.13.16 connectport=22

(4) View configured port forwarding

netsh interface portproxy show v4tov4

(5) Delete port mapping

netsh interface portproxy delete v4tov4 listenaddress=10.139.1.30 listenport=13016

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report