当前位置:网站首页>ACL and NAT
ACL and NAT
2022-07-21 12:19:00 【Au poplar】
Catalog
NAT( Translation of Internet address )
ACL( Access control list )
ACL Overview and background

ACL application
ACL species
ACL Application principles
ACL Matching rules
NAT( Translation of Internet address )
NAT Working mechanism
static state NAT
NATPT( Port mapping )
Easy-IP
experiment
nat
Enterprises export
[R1]int g0/0/0 // Access interface g0/0/0
[R1-GigabitEthernet0/0/0]undo shut undo shut// Turn on the physical interface
[R1-GigabitEthernet0/0/0]ip add 192.168.1.1 24 // To configure IP Address and subnet mask length
[R1-GigabitEthernet0/0/0]int g0/0/1 // Access interface g0/0/1
[R1-GigabitEthernet0/0/1]undo shut // Turn on the physical interface
[R1-GigabitEthernet0/0/1]ip add 202.10.10.1 24 // To configure IP Address and subnet mask length
[R1]nat address-group 1 15.0.0.10 15.0.0.11 // To configure NAT Internet address pool
[R1]acl 2000 // Create a standard access control list 2000
[R1-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255 // To configure ACL Grab the intranet address segment
[R1-acl-basic-2000]int g0/0/1 // Access interface g0/0/1
[R1-GigabitEthernet0/0/1]nat outbound 2000 address-group 1 // Call... At the Internet port acl2000
[R1]ip route-static 0.0.0.0 32 202.10.10.2 // Configure the default route , Next jump into the interface 202.10.10.2
[R1-GigabitEthernet0/0/1]display nat outbound // Check for success
ACL
R1
[Huawei]sys R1
[R1]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add 192.168.2.254 24
[R1-GigabitEthernet0/0/1]int g0/0/2
[R1-GigabitEthernet0/0/2]ip add 192.168.3.254 24
[R1-GigabitEthernet0/0/2]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 192.168.1.254 24
[R1-GigabitEthernet0/0/0]int g0/0/1
[R1-GigabitEthernet0/0/1]q
[R1]acl 2000
[R1-acl-basic-2000]rule deny source 192.168.1.1 0
acl number 2000
[R1-acl-basic-2000]int g0/0/1
[R1-GigabitEthernet0/0/1]traf
[R1-GigabitEthernet0/0/1]traffic-filter outbound 2000
[R1-GigabitEthernet0/0/1]traffic-filter outbound acl 2000
[R1-GigabitEthernet0/0/1]undo traffic-filter outbound
[R1-GigabitEthernet0/0/1]dis th
[V200R003C00]
interface GigabitEthernet0/0/1
ip address 192.168.2.254 255.255.255.0
return
[R1-GigabitEthernet0/0/1]q
[R1]acl 3000
[R1-acl-adv-3000]rule deny tcp 192.168.1.1 0 des
[R1-acl-adv-3000]rule deny tcp source
[R1-acl-adv-3000]rule deny tcp source 192.168.1.1 0 destination 192.168.2.1 0 de
stination-port eq www
[R1-acl-adv-3000]int g0/0/0
[R1-GigabitEthernet0/0/0]traffic-filter inbound acl 3000
result
边栏推荐
- Could not resolve all dependencies for configuration
- Samsung announced the completion of the research and development of the 5-nm EUV process: the performance is improved by 10% and the power consumption is reduced by 20%!
- redis中使用lua脚本
- 【thymeleaf】基本对象:Base objects
- SAKO搜索帮助增强(FB02科目搜索帮助)
- 你必须知道的4种 Redis 集群方案及优缺点对比
- 2018全球半导体技术发明专利排行榜:京东方杀入前三,华为仅排第59位!
- Mysql:Error Code 1235,This version of MySQL doesn’t yet support ‘LIMIT & IN/ALL/ANY/SOME
- Introduction to nerf dataset
- 使用 FVTool 进行滤波器分析
猜你喜欢
类和对象【上】
HBuilderX 格式化 不換行(import)
Jenkins怎么发邮件,高级测试手把手教你...
Modification and use of j-vxe-table and j-popup components in jeecg
支持向量机学习笔记(1)
2021-09-16
Overseas app push (Part 1): differences between manufacturer channel and Google FCM channel
2021-09-17
2021-9-21
Common tools and test methods for interface testing (zero basis)
随机推荐
KDD cup 2022 Baidu - List
What are the interview questions for test engineers you have encountered?
【excel】SUMIF合并单元格
2021-9-19
KDD cup 2022 Baidu - 榜单
How to choose securities companies that support flush? Is it safe to open an account on your mobile phone
【thymeleaf】基本对象:Base objects
Week 5 - Neural Networks and Neural Language Models
推荐几个好用的redis可视化工具
【问题解决】 怎么传输文件到win服务器
2018全球半导体技术发明专利排行榜:京东方杀入前三,华为仅排第59位!
AIX mount NFS write inefficient solution
分布式高并发高可用FastDFS文件服务器集群部署
Reasons and solutions for more data entries than the original data table after left join/inner join
[MySQL] get table information and all column names
記一次曲折的拿靶標記錄
MySQL查询字符串中有多少个相同字符(查询字符串包含特定个数的相同字符)
ACL与NAT
c语言初学者对puts()的问题
2018 global semiconductor technology invention patents ranking: BOE ranked in the top three, while Huawei ranked only 59th!