The invention discloses a method and a
system for eliminating NAT (
Network Address Translation) limitation by transforming external TCP (
Transmission Control Protocol) connection of an enterprise into
QUIC (Query Unified
Integrated Circuit) connection, and belongs to the technical field of computer networks. According to the method,
client access is guided to an
intranet agent through DNS redirection; the
client establishes standard TCP connection with the
intranet agent; the
intranet agent maps the TCP
stream data to the
QUIC connection or
stream actively sent to the
public network agent as required; and the
public network agent restores the TCP request and relays the TCP request to the target service, and returns in response to the original path. According to the invention, a segmented optimization architecture of the intranet TCP and the
public network QUIC is creatively adopted, so that the dependence of the traditional scheme on the long connection of the public network TCP is fundamentally eliminated, the core crux of unstable NAT penetration is solved, the inherent false dead connection problem of the TCP protocol is thoroughly avoided, the completely transparent and zero-transformation access of the
client and the intranet service is realized, and the access efficiency of the client and the intranet service is improved. And the
system has excellent stability, safety and deployment convenience.