ciscoasa# show run
: Saved
:
ASA Version 8.6(1)2
!
hostname ciscoasa
enable password 2KFQnbNIdI.2KYOU encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface GigabitEthernet0/0
nameif outside
security-level 0
ip address 219.147.53.26 255.255.255.252
!
interface GigabitEthernet0/1
nameif inside
security-level 100
ip address 3.3.3.3 255.255.255.0
!
interface GigabitEthernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/4
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/5
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
shutdown
no nameif
no security-level
no ip address
management-only
!
ftp mode passive
object network ouside
host 219.147.53.26
object network server2
host 192.168.10.151
object network server3
host 192.168.10.151
object network objany
subnet 192.168.10.0 255.255.255.0
object network server4
host 192.168.10.27
object network server5
host 192.168.10.27
object network server6
host 192.168.10.27
object network server7
host 192.168.10.28
object network server8
host 192.168.10.28
object network server9
host 192.168.10.28
object network outside
object network server
host 192.168.10.22
access-list 100 extended permit ip any any
access-list 100 extended permit icmp any any
access-list 100 extended permit tcp any any
access-list 101 extended permit ip any any
access-list 101 extended permit icmp any any
access-list 101 extended permit tcp any any
pager lines 24
logging asdm informational
mtu outside 1500
mtu inside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
!
object network server2
nat (inside,outside) static interface service tcp 3389 3389
object network server3
nat (inside,outside) static interface service tcp 8080 8080
object network objany
nat (inside,outside) dynamic interface
object network server4
nat (inside,outside) static interface service tcp 12330 12330
object network server5
nat (inside,outside) static interface service tcp 12331 12331
object network server6
nat (inside,outside) static interface service tcp 12441 12441
object network server7
nat (inside,outside) static interface service tcp 12440 12440
object network server8
nat (inside,outside) static interface service tcp 12332 12332
object network server9
nat (inside,outside) static interface service tcp 12442 12442
object network server
nat (inside,outside) static 222.88.59.142
access-group 101 in interface outside
access-group 100 in interface inside
route outside 0.0.0.0 0.0.0.0 219.147.53.25 1
route inside 192.168.10.0 255.255.255.0 3.3.3.1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
user-identity default-domain LOCAL
aaa authentication ssh console LOCAL
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 60
ssh version 2
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
username cisco password 3USUcOPFUiMCO4Jk encrypted
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:cdf8a142c646f3577788a6922d03233a
配置如上
现在有两个公网地址,掩码相同,网关不同,
配置要求就是219.xxx的公网地址给192.168.10.0段的服务器使用,做端口映射。222.xxx的公网地址给192.168.10.22服务器单独使用一对一映射上网,
1、现在问题是作为一对一映射的内部服务器的公网地址不行,ping不通所以映射不成功, 我尝试了把222.的地址配置到出口是可以一对一成功的,但是当我把他no掉的时候,过二十分钟左右就不通了,接口也不能启用备用ip说什么设备不支持故障转移,来个大牛帮我看看啊