|
各位大神。我这有台ASA5505的防火墙。划分了四个区域。做的NAT端口映射和上网。
如果现在我把NAT上网命令去掉后。区域之间相互通讯都没问题。但如果配置上NAT上网的话,区域和区域之间就完全不通了,ACL我全部放通也不通。我用packet-tracer测试后,提示nat drop。
麻烦各位大神帮我看看配置有没有问题
ASA5505(config)# show run
: Saved
:
ASA Version 8.2(5)
!
hostname ASA5505
domain-name cisco.com
enable password 2KFQnbNIdI.2KYOU encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
switchport access vlan 2
!
interface Ethernet0/4
switchport access vlan 2
!
interface Ethernet0/5
switchport access vlan 3
!
interface Ethernet0/6
switchport access vlan 3
!
interface Ethernet0/7
switchport access vlan 4
!
interface Vlan1
nameif Inside
security-level 100
ip address 192.168.0.1 255.255.255.0
!
interface Vlan2
nameif Server
security-level 100
ip address 192.168.10.1 255.255.255.0
!
interface Vlan3
nameif DMZ
security-level 50
ip address 192.168.20.1 255.255.255.0
!
interface Vlan4
nameif Outside
security-level 0
ip address 218.24.x.x 255.255.255.0
!
ftp mode passive
clock timezone GMT 8
dns server-group DefaultDNS
domain-name cisco.com
same-security-traffic permit inter-interface
access-list inside extended permit icmp any any
access-list inside extended permit ip any any
access-list dmz extended permit icmp any any
access-list dmz extended permit ip any any
access-list servers extended permit icmp any any
access-list servers extended permit ip any any
access-list outside extended permit icmp any any
access-list outside extended permit ip any any
pager lines 24
mtu Inside 1500
mtu Server 1500
mtu DMZ 1500
mtu Outside 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (Outside) 1 interface
nat (Inside) 1 192.168.0.0 255.255.255.0
nat (Server) 1 192.168.10.0 255.255.255.0
nat (DMZ) 1 192.168.20.0 255.255.255.0
static (DMZ,Outside) tcp interface www 192.168.20.10 8080 netmask 255.255.255.255
static (Server,Outside) tcp interface pop3 192.168.10.77 pop3 netmask 255.255.255.255
static (Server,Outside) tcp interface 587 192.168.10.77 587 netmask 255.255.255.255
static (Server,Outside) tcp interface https 192.168.10.21 https netmask 255.255.255.255
static (Server,Outside) tcp interface 995 192.168.10.77 995 netmask 255.255.255.255
static (Server,Outside) tcp interface 465 192.168.10.77 465 netmask 255.255.255.255
static (Server,Outside) tcp interface smtp 192.168.10.77 smtp netmask 255.255.255.255
static (Outside,DMZ) tcp 192.168.20.10 8080 218.24.x.x www netmask 255.255.255.255
static (Outside,Server) tcp 192.168.10.77 pop3 218.24.x.x pop3 netmask 255.255.255.255
static (Outside,Server) tcp 192.168.10.77 587 218.24.x.x 587 netmask 255.255.255.255
static (Outside,Server) tcp 192.168.10.77 995 218.24.x.x 995 netmask 255.255.255.255
static (Outside,Server) tcp 192.168.10.77 smtp 218.24.x.x smtp netmask 255.255.255.255
static (Outside,Server) tcp 192.168.10.21 https 218.24.x.x https netmask 255.255.255.255
access-group inside in interface Inside
access-group servers in interface Server
access-group dmz in interface DMZ
access-group outside in interface Outside
route Outside 0.0.0.0 0.0.0.0 218.24.x.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
aaa authentication http console LOCAL
aaa authentication telnet console LOCAL
aaa authentication ssh console LOCAL
http server enable
http 0.0.0.0 0.0.0.0 Inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
telnet 0.0.0.0 0.0.0.0 Inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 Outside
ssh timeout 5
console timeout 0
dhcpd dns 114.114.114.114 202.96.69.38
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
username admin password f3UhLvUj1QsXsuK7 encrypted privilege 15
!
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 ip-options
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
!
service-policy global_policy global
prompt hostname context
call-home reporting anonymous prompt 2
call-home
profile CiscoTAC-1
no active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination address email callhome@cisco.com
destination transport-method http
subscribe-to-alert-group diagnostic
subscribe-to-alert-group environment
subscribe-to-alert-group inventory periodic monthly
subscribe-to-alert-group configuration periodic monthly
subscribe-to-alert-group telemetry periodic daily
Cryptochecksum:3e1864fe72350a337e2ca109990e2404
: end
|
|