Local area network remotely multiple computers through different ports of one ip

First conclusion

In the router control panel, set up multiple computers (Win10) remotely 端口转发规则through the router WAN口ip+外部端口.

Network environment analysis

Network topology diagram
Insert picture description here
As shown in the above figure, the upper IP is a 172.18.56.Xsegment, and the next layer passes through a router, and the IP is all 192.168.1.Xsegments.

The device whose 需求IP is the 172.18.56.asegment currently needs to be the device whose remote IP is the 192.168.1.xsegment.

Specific operation

Enter the control panel of the router in the picture above (take TP-Link as an example).

(1) Check the IP address of the WAN port of the router.

Insert picture description here

(2) Setting DMZ主机, select IP as the IP of the device you want to remote (only one can be added here)

Insert picture description here

(3) Set up virtual server

Insert picture description here
Add the IP of the device you want to remote.

It should be noted 内部端口要选择3389that this is the remote service port, and the external port can be selected to be unoccupied.

Remote operation (mstsc) effect

If the remote is set to DMZ主机the IP, you can access without adding an external port, such as

172.16.58.27

If the remote host is another host, you can ip:端口do it remotely in the following ways, such as:

172.16.58.27:6666

Guess you like

Origin blog.csdn.net/Awt_FuDongLai/article/details/111320946