NAT penetration method, device and equipment and storage medium

A device and host technology, applied in the Internet field, can solve the problem of low transmission link success rate, and achieve the effect of improving the success rate, reducing the difficulty, and improving the success rate.

Active Publication Date: 2019-05-31
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a NAT penetration method, device, device, and storage medium, which can be used to solve the problem of intercommunication between intranet hosts between port-restricted NAT and symmetric NAT, and the success rate of transmission link establishment is low The problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • NAT penetration method, device and equipment and storage medium
  • NAT penetration method, device and equipment and storage medium
  • NAT penetration method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0059] Before introducing and explaining the embodiment of the present application, the four types of NAT are firstly introduced and explained.

[0060] Full-cone NAT: Connection requests for the same internal network address X (including IP address and port number) will be mapped to the same external network address Y (including IP address and port number), regardless of the destination address of the request. NAT will The request sent by the external address Z (including IP address and port number) to Y is forwarded to X.

[0061] Restricted NAT: Connection requests for the same internal network address X (including IP address and port number) will be mapped to the same external network address Y (including IP address and port ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an NAT (Network Address Translation) penetration method, an NAT penetration device, NAT penetration equipment and a storage medium. The method comprises the steps that a first server obtains an NAT type corresponding to a first host and an NAT type corresponding to a second host; The first server sends first role distribution information to the first host and sends second role distribution information to the second host; The first host acquires an external network address of the second host; The first host sends n first data packets through the first NAT device; The second host obtains an external network address of the first host; The second host sends m second data packets to the first host through a second NAT device according to the external network address of the first host; The first host receives a second data packet forwarded by the first NAT device from the second host; And after receiving the second data packet, the first host establishes a transmissionlink with the second host. The mode of multi-port reservation and multi-port detection provided by the invention is helpful for reducing the difficulty of port detection and improving the success rate of NAT penetration.

Description

technical field [0001] The embodiments of the present application relate to the technical field of the Internet, and in particular to a NAT (Network Address Translation, Network Address Translation) traversal method, device, device, and storage medium. Background technique [0002] NAT technology is a technology that rewrites the source address or destination address when an IP (Internet Protocol, Internet Protocol) packet passes through a router or firewall. It can solve the problem of insufficient IP addresses and effectively avoid attacks from outside the network. Hide and protect computers inside your network. [0003] The NAT device will map the internal network address in the data packet sent by the internal network host to the external network to the external network address, and will filter the packet according to certain rules after receiving the packet from the external network, which results in two different internal network Communication between hosts becomes co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/12
Inventor 薛政周煜吕静王宝剑
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products