当前位置:网站首页>Nat address translation
Nat address translation
2022-07-07 18:38:00 【Chen chacha__】
Technical background
- legal IP Address resources are increasingly scarce
- Effectively hide internal hosts IP, It has a certain role in network security protection
NAT principle : change IP baotou 、 Make destination address 、 The source address or two addresses are replaced by different addresses in the header
NAT classification :
static state NAT: One to one address mapping
dynamic NAT: Pick from the address pool
NAT overload (PAT): Allow internal address mapping to an external address
static state NAT

Two routers are respectively configured with default routes , The whole network is connected
1.PC0 Use the public address to access the Internet server , stay R0 The upper configuration enables static address translation between internal local and external legal addresses
ip nat inside soure static 192.168.10.1 76.12.16.139 # The former is the internal address , Followed by the external address to be mapped
Enable on internal and external ports NAT
int e0/0/0
ip nat inside
int f0/1
ip nat outside
show ip nat translations
2. Will be inside server HTTP Services are mapped to the public network IP PC Through the public network IP Internal access server
ip nat inside source static tcp 192.168.20.1 80 76.12.16.140 80
int f0/0
ip nat in
show ip nat translations
dynamic NAT

dynamic NAT Configuration steps
1. To configure ACL, Intranet range for address translation
access-list 1 permit 192.168.10.0 0.0.0.255
int f0/0
ip access-group in
2. Configure the translated address pool
ip nat pool pool-1 76.12.16.139 76.12.16.141 netmask 255.255.255.248
3. Set up ACL Mapping relationship with address pool
ip nat inside source list 1 pool pool-1
4. Enable on internal and external ports NAT
int f0/0
ip nat inside
int f0/1
ip nat outside
show ip nat translation # Check out the NAT Address translation address

边栏推荐
- The report of the state of world food security and nutrition was released: the number of hungry people in the world increased to 828million in 2021
- [network attack and defense principle and technology] Chapter 4: network scanning technology
- Do you really understand sticky bag and half bag? 3 minutes to understand it
- Summary of evaluation indicators and important knowledge points of regression problems
- 简单几步教你如何看k线图图解
- Some key points in the analysis of spot Silver
- 卖空、加印、保库存,东方甄选居然一个月在抖音卖了266万单书
- gsap动画库
- Five simple ways to troubleshoot with Stace
- 高考填志愿规则
猜你喜欢
![[principles and technologies of network attack and Defense] Chapter 5: denial of service attack](/img/18/ac8b4c0dba4dd972df119d2f670416.png)
[principles and technologies of network attack and Defense] Chapter 5: denial of service attack
![[论文分享] Where’s Crypto?](/img/27/9b47bfcdff8307e63f2699d6a4e1b4.png)
[论文分享] Where’s Crypto?

SD_DATA_RECEIVE_SHIFT_REGISTER

Idea completely uninstalls installation and configuration notes
![Interviewer: why is the page too laggy and how to solve it? [test interview question sharing]](/img/0d/5d27c71a80e89b6bdea30672423004.png)
Interviewer: why is the page too laggy and how to solve it? [test interview question sharing]

回归问题的评价指标和重要知识点总结

上市十天就下线过万台,欧尚Z6产品实力备受点赞
![[4500 word summary] a complete set of skills that a software testing engineer needs to master](/img/82/acae52928b3ab48e9ecbf4ec436e5e.jpg)
[4500 word summary] a complete set of skills that a software testing engineer needs to master

卖空、加印、保库存,东方甄选居然一个月在抖音卖了266万单书

用存储过程、定时器、触发器来解决数据分析问题
随机推荐
Using stored procedures, timers, triggers to solve data analysis problems
持续测试(CT)实战经验分享
The report of the state of world food security and nutrition was released: the number of hungry people in the world increased to 828million in 2021
[PaddleSeg源码阅读] PaddleSeg Validation 中添加 Boundary IoU的计算(1)——val.py文件细节提示
PHP面试题 foreach($arr as &$value)与foreach($arr as $value)的用法
Download, installation and development environment construction of "harmonyos" deveco
Live broadcast software construction, canvas Text Bold
能同时做三个分割任务的模型,性能和效率优于MaskFormer!Meta&UIUC提出通用分割模型,性能优于任务特定模型!开源!...
Tips of this week 141: pay attention to implicit conversion to bool
[demo] circular queue and conditional lock realize the communication between goroutines
nest.js入门之 database
The highest level of anonymity in C language
How to open an account for wealth securities? Is it safe to open a stock account through the link
Some key points in the analysis of spot Silver
静态路由配置
你真的理解粘包与半包吗?3分钟搞懂它
Backup Alibaba cloud instance OSS browser
云景网络科技面试题【杭州多测师】【杭州多测师_王sir】
3分钟学会制作动态折线图!
Summary of debian10 system problems