定义IP映射
static (inside,outside) 219.159.67.181 192.168.253.5 netmask 255.255.255.255 0 0
外网地址 内网地址
打开服务端口
conduit permit tcp host 219.159.67.181 eq 80 any
外网地址 端口号
ciscoasa(config)# int e0/0
ciscoasa(config-if)# ip address 192.168.0.1 255.255.255.0
ciscoasa(config-if)# nameif inside
ciscoasa(config-if)#no shu
ciscoasa(config)# int e0/1
ciscoasa(config-if)# ip address 218.28.214.XX 255.255.255.0
ciscoasa(config-if)# nameif outside
ciscoasa(config-if)#no shu
ciscoasa(config)#static (inside,outside) 218.28.214.XX 192.168.0.2
ciscoasa(config)#access-list 110 permit tcp any host 218.28.214.XX eq 80
ciscoasa(config)#access-group 110 in interface outside