当前位置:网站首页>NAT (network address translation)
NAT (network address translation)
2022-07-27 06:51:00 【Thousand tears 1999】
Tips : When the article is finished , Directories can be generated automatically , How to generate it, please refer to the help document on the right
List of articles
One 、NAT What is it?
NAT(Network Address Translation) Also known as network address translation , It is used to realize mutual visits between private networks and public networks .
Private network address and public network address
Public network address ( Hereinafter referred to as the public network address ) It refers to the only in the world on the Internet IP Address .2019 year 11 month 26 Japan , It is a memorable day in the era of human Internet , almost 43 One hundred million IPV4 Address officially exhausted .
Private network address ( Hereinafter referred to as private network address ) It refers to the internal network or host IP Address .
1.NAT How it works
NAT It is used to convert the intranet address and port number into a legal public address and port number , Set up a conversation , Communicate with the public network host
NAT An external host cannot actively follow NAT Internal host communication ,NAT The internal host wants to communicate , Must be active and one of the public networks IP signal communication , The router is responsible for establishing a mapping relationship , So as to realize data forwarding
2.NAT The function of
NAT Not only can it solve IP The problem of insufficient address , And it can also effectively avoid intrusion from outside the network , Hide and protect computers inside the network .
Broadband sharing : This is a NAT The biggest function of the host .
Safety protection :NAT Within PCc Online to Internet. Up there , What he showed IP yes NAT Host's public network IP, therefore client Terminal PC It has a certain degree of security , The outside world is portscan ( Port scanning ) When , You can't detect the source client Terminal PC.
advantage : Saving is legal IP Address 、 Handle address overlap 、 Increase flexibility 、 Security 20
shortcoming : Delay increases 、 The complexity of configuration and maintenance 、 Some applications are not supported ( such as VPN)21
3. static state NAT
static state NAT Realize one-to-one conversion between private network address and public network address . You need to configure as many public addresses as you have private addresses . static state NAT Can't save the public address , But it can hide the internal network .
When the internal network sends a message to the external network , static state NAT The source of the message IP Replace the address with the corresponding public network address . When the external network sends a response message to the internal network , static state NAT Replace the destination address of the message with the corresponding private network address .
4. dynamic NAT
Multiple private networks IP The address corresponds to multiple public networks IP Address , One to one mapping based on address pool .
1. Configure the configuration of external network port and internal network port IP Address
2. Define legal iP Address pool
5.PAT Port multiplexing
PAT Also known as NAPT (Network Address PortTranslation), It realizes the mapping between a public network address and multiple private network addresses , Therefore, the public network address can be saved .PAT The basic principle of is to source messages with different private network addresses IP Address conversion to the same public network address , But they are converted to different port numbers for that address , So you can still share the same address .
6. PAT The role of
Change the of the packet ip Address and port number :
2. Can affect a large number of public networks IP Address .
PAT There are the following types of :
dynamic PAT, Include NAPT and IEasy IP
NAT It's a one-to-one conversion
NAPT Many to one conversion
2. static state PAT, Include NAT Server.
边栏推荐
- Soul continues to make efforts to list its social channels in Hong Kong. Why is "soul style social" popular?
- 多模态数据库 | 星环科技多模数据库ArgoDB“一库多用“,构建高性能湖仓集一体平台
- ES6新特性(入门)
- Memo @restcontrolleradvice and exception interception class example
- Use of getattr, hasattr, delattr and setattr in reflectors
- 关于在Gazebo中给无人机添加相机(摄像头)之后,无人机无法起飞
- ES6的新特性(2)
- 如何让最小 API 绑定查询字符串中的数组
- 2022上半年英特尔有哪些“硬核创新”?看这张图就知道了!
- shell--变量的运算
猜你喜欢

DNS域名解析服务

shell--条件语句(if语句、case语句)

Sunflower popularizes Science in an all-round way to avoid loopholes for your remote control equipment in time

QGIS series (1) -qgis (server APACHE) win10 installation

Soul submitted an application for listing in Hong Kong stocks, accelerating the diversified and scene based layout of social gathering places

网站服务器被攻击怎么办?向日葵提示防范漏洞是关键

向日葵全面科普,为你的远程控制设备及时规避漏洞

Many of the world's top 500 enterprises gathered at the second digital Expo, and the digital industry curtain is about to open!

ES6新特性(入门)

Sunflower: don't worry when you encounter computer vulnerabilities, understand clearly and then judge sunflower: don't worry when you encounter computer vulnerabilities, understand clearly and then ju
随机推荐
FTX.US推出股票和ETF交易服务,让交易更透明
FTP服务简介与配置
Project training experience 2
磁盘管理与文件系统
Three methods to judge whether it is palindrome structure
Shell script delete automatically clean up files that exceed the size
Memo @restcontrolleradvice and exception interception class example
Redis' idea under windows is not connected
According to SQL, you must know and learn SQL (MySQL)
Redis operation of Linux Installation
How to avoid loopholes? Sunflower remote explains the safe use methods in different scenarios
After adding a camera (camera) to the UAV in gazebo, the UAV cannot take off
Use of getattr, hasattr, delattr and setattr in reflectors
Geonode GeoServer win10 installation tutorial (personal test)
Socket programming II: using Select
Recommended by the world's most technologically competent smart contract security audit company in 2022
Ftx.us launched stock and ETF trading services to make trading more transparent
What "hard core innovations" does Intel have in the first half of 2022? Just look at this picture!
Webodm win10 installation tutorial (personal test)
Open source WebGIS related knowledge