- 论坛徽章:
- 0
|
如题,小弟有以下应用需求:
1. 一台WEB发布服务器,ip 假定设置为 10.13.113.11/24
2. 有一台ASA K8,目前想实现
内网端口 10.13.113.254/24
对外的发布的访问端口 172.25.192.80/24 gateway :172.25.192.1
理论上是想实现任一可达 172.25.192.80端口的IP地址都可以访问到 10.13.113.11 服务器上的指定服务(如www,ftp,指定端口)
因此,有下列配置,藐视不成功,请教各位给予修正。
interface Ethernet 0/0
nameif outside
security-level 0
ip address 172.25.192.80 255.255.255.0
no shutdown
interface Ethernet 0/1
nameif inside
security-level 100
ip address 10.13.113.254 255.255.255.0
no shutdown
interface managerment 0/0
nameif managerment
security-level 100
ip address 192.168.1.1 255.255.255.0
no shutdown
managerment-only
http server enable
http 192.168.1.184 255.255.255.0 managerment
access-list in-server extended permit icmp any any
access-list in-server extended permit ip any interface outside
access-list in-server extended permit tcp any host 10.13.113.11 eq www
access-list in-server extended permit tcp any host 10.13.113.11 eq ftp
access-list in-server extended permit tcp any host 10.13.113.11 eq 3031
access-list in-server extended permit tcp any host 10.13.113.11 eq 4041
global (outside) 1 interface
nat (inside) 1 10.13.113.0 255.255.255.0
static (inside,outside) 172.25.192.80 10.13.113.254 netmask 255.255.255.255
access-group in-server in interface outside
route outside 0.0.0.0 0.0.0.0 172.25.192.1 |
|