防火墙dmz实验

简介: 防火墙dmz实验

ffc04ddaef3f49c196eb03d3f0ef53a0.png

ciscoasa> en

Password:    

ciscoasa# conf t

ciscoasa(config)# int e0/0

ciscoasa(config-if)# nameif outside

ciscoasa(config-if)# ip add 202.106.0.1 255.255.255.0


ciscoasa(config-if)# int e0/1

ciscoasa(config-if)# nameif inside

ciscoasa(config-if)# ip add 10.0.0.2 255.255.255.252


ciscoasa(config-if)# int e0/2

ciscoasa(config-if)# nameif dmz

ciscoasa(config-if)# security-level 50

ciscoasa(config-if)# ip add 172.16.0.1 255.255.255.0

ciscoasa(config-if)# no sh

ciscoasa(config-if)# exit

ciscoasa(config)#

ciscoasa(config)# route inside 192.168.1.0 255.255.255.0 10.0.0.1


ciscoasa(config)# access-list abc permit ip any 172.16.0.0 255.255.255.0

ciscoasa(config)# access-group abc in int outside


R1(config)#int f0/0

R1(config-if)#ip add 10.0.0.1 255.255.255.252

R1(config-if)#no sh

R1(config-if)#exit


R1(config)#int f0/1

R1(config-if)#ip add 192.168.1.1 255.255.255.0

R1(config-if)#no sh

R1(config-if)#exit

R1(config)#ip route 0.0.0.0 0.0.0.0 10.0.0.2

R1(config)#



R6(config)#int f0/0

R6(config-if)#ip add 192.168.1.2 255.255.255.0

R6(config-if)#no sh

R6(config-if)#exit


R6(config)#no ip routing


R6(config)#ip default-gateway 192.168.1.1

R6(config)#exit



R4(config)#int f0/0

R4(config-if)#ip add 172.16.0.100 255.255.255.0

R4(config-if)#no sh

R4(config-if)#exit


R4(config)#no ip routing

R4(config)#ip default-gateway 172.16.0.1


R4(config)#line vty 0 4

R4(config-line)#password 123

R4(config-line)#login

R4(config-line)#exit

R4(config)#enable password 456

R4(config)#exit


R5(config)#int f0/0

R5(config-if)#ip add 172.16.0.200 255.255.255.0

R5(config-if)#no sh

R5(config-if)#exit


R5(config)#no ip routing

R5(config)#ip default-gateway 172.16.0.1


R5(config)#line vty 0 4

R5(config-line)#password 123

R5(config-line)#login

R5(config-line)#exit

R5(config)#enable password 456

R5(config)#exit


R7(config)#int f0/0

R7(config-if)#ip add 202.106.0.100 255.255.255.0

R7(config-if)#no sh

R7(config-if)#exit


R7(config)#no ip routing


R7(config)#ip default-gateway 202.106.0.1


R7(config)#line vty 0 4

R7(config-line)#password 123

R7(config-line)#login

R7(config-line)#exit

R7(config)#enable password 456

R7(config)#exit


相关文章
|
30天前
|
监控 网络协议 安全
华为配置防火墙直连路由器出口实验
华为配置防火墙直连路由器出口实验
|
24天前
|
安全 网络安全
防火墙实验
防火墙实验
30 7
|
24天前
|
网络安全
防火墙综合实验二
防火墙综合实验二
15 4
|
30天前
|
监控 网络安全 网络架构
DMZ 和防火墙之间的区别
【4月更文挑战第10天】
64 2
|
安全 网络安全 数据库
内网、外网和DMZ的防火墙保护程度排序和辨析
内网、外网和DMZ的防火墙保护程度排序和辨析
211 0
|
运维 网络协议 算法
基于Ryu 防火墙的检测和解决异常入侵的流量--实验
基于Ryu 防火墙的检测和解决异常入侵的流量--实验
|
安全 网络协议 Shell
防火墙豁免实验
防火墙豁免实验
防火墙豁免实验
|
Shell 网络安全
防火墙nat实验
防火墙nat实验
|
安全 网络协议 Shell
防火墙练习实验
防火墙练习实验
防火墙练习实验
|
Shell 网络安全
防火墙练习实验
防火墙练习实验
防火墙练习实验