Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Lcx Port forwarding achieves Intranet Breakthrough

Shulou Source: shulou.com Published: 2022-06-01 05:35:43 10月04日 Update

Topology:

Web Server----FireWall (NAT)-Internet (One Server:Web Server can connect)-My PC.

One Server is a server that you can connect to. This server can also be My PC.

One Server: lcx-listen 2222 3333

Listen to ports 2222 and 3333.

Web Server:lcx-slave 200.0.0.1 2222 127.0.0.1 3389

Web Server connects 2222 of 200.0.0.1 (One Server's IP). Since this is a link initiated by the intranet to One Server, the firewall is allowed to pass, here we call it "connection 1". Web Server- connects to 1-One Server. Because of lcx, when One Server sends data to Web Server through connection 1, Web Server sends the data to its own 3389 (127.0.0.1 3389).

My PC:mstsc / v:200.0.0.1:3333 . My PC initiates a connection to 200.0.0.1 Web Server 3333, and when One Server receives the data, it sends this data to Web Server through "connection 1".

This allows My PC to connect to 3389 of Web Server. Of course, the premise is to upload lcx to One Server and Webserver. It is recommended that One Server be replaced by My PC.

Lcx download address: http://pan.baidu.com/share/link?shareid=1499333585&uk=2165047423

Tags: Data server service port function premise address suggestion is made by link firewall monitor fire prevention breakthrough Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology NVidia OPPO Reno MariaDB macOS