紧急求助,在线等,cisco pix515e 端口映射问题!

2024-12-14 01:44:07
推荐回答(2个)
回答1:

定义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
外网地址 端口号

回答2:

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