PIX NAT(动态)

拓扑

 

PIX NAT(动态)_PIX NAT(动态)

 

PIX配置

pixfirewall> en

Password:

pixfirewall#

pixfirewall# conf t

pixfirewall(config-if)# nameif inside

INFO: Security level for "inside" set to 100 by default.

pixfirewall(config-if)# ip add 192.168.2.1 255.255.255.0

pixfirewall(config-if)# no shutdown

pixfirewall(config-if)# int e1  

pixfirewall(config-if)# nameif outside

INFO: Security level for "outside" set to 0 by default.

pixfirewall(config-if)# ip add 202.99.88.1 255.255.255.0

pixfirewall(config-if)# no shutdown                                      ^

pixfirewall(config)# nat (inside) 1 192.168.2.0 255.255.255.0

pixfirewall(config)# global (outside) 1 202.99.88.5-202.99.88.10

pixfirewall(config)# access-list icmp extended permit icmp any any

pixfirewall(config)# access-group icmp in interface outside

pixfirewall(config)# show xlate

1 in use, 1 most used

Global 202.99.88.5 Local 192.168.2.10

pixfirewall(config)#