取消
显示结果 
搜索替代 
您的意思是: 
cancel
7566
查看次数
0
有帮助
9
回复

ASA5510 9.1(6) 配置问题

freshheart
Level 1
Level 1
ASA Version 9.1(6)
!
hostname BYT
domain-name BYT
enable password PVSASRJovmamnVkD encrypted
names
!
interface Ethernet0/0
nameif outside
security-level 0
ip address 172.16.5.2 255.255.0.0
!
interface Ethernet0/1
nameif inside
security-level 100
ip address 192.168.0.2 255.255.255.0
!
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
management-only
nameif management
security-level 0
ip address 172.17.0.1 255.255.0.0
!
ftp mode passive
dns server-group DefaultDNS
domain-name BYT
object network inside-outside-all
subnet 0.0.0.0 0.0.0.0
access-list 1 extended permit ip 192.168.0.0 255.255.255.0 any4
pager lines 24
mtu outside 1500
mtu inside 1500
mtu management 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-741.bin
asdm history enable
arp timeout 14400
no arp permit-nonconnected
!
object network inside-outside-all
nat (inside,outside) dynamic interface
access-group 1 in interface outside
route outside 0.0.0.0 0.0.0.0 172.16.0.1 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
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
http server enable
http 0.0.0.0 0.0.0.0 inside
http 0.0.0.0 0.0.0.0 outside
http 0.0.0.0 0.0.0.0 management
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
crypto ipsec security-association pmtu-aging infinite
crypto ca trustpool policy
telnet timeout 5
no ssh stricthostkeycheck
ssh 0.0.0.0 0.0.0.0 outside
ssh 0.0.0.0 0.0.0.0 inside
ssh 0.0.0.0 0.0.0.0 management
ssh timeout 30
ssh version 1
ssh key-exchange group dh-group1-sha1
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
username admin password eY/fQXw7Ure8Qrz7 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
为啥不行呢 高手指教 多谢
1 个已接受解答

已接受的解答

qiangzh2
Cisco Employee
Cisco Employee
那说明你的NAT没有撞上,尝试修改下object network inside-outside-all ,从0 0 变成个具体的网段测试一下。

在原帖中查看解决方案

9 条回复9

qiangzh2
Cisco Employee
Cisco Employee
那说明你的NAT没有撞上,尝试修改下object network inside-outside-all ,从0 0 变成个具体的网段测试一下。

cumtcisco
Level 1
Level 1
努力的看到了最后,确不知道,你的问题是什么

freshheart
Level 1
Level 1
cumtcisco 发表于 2015-5-19 11:45 back.gif
努力的看到了最后,确不知道,你的问题是什么

我的这个配置 但是我有一台192.168.0.126 255.255.255.0 的机器无法通过防火墙访问外网

XuLei18879
Level 1
Level 1
楼主是就这一台主机不能上网,其他都可以,还是所有都不可以?

qiangzh2
Cisco Employee
Cisco Employee
能ping通,还是网页打不开?首先确认下,能否ping通公网,配置上应该没有什么问题,是可以正常转换NAT,可以通过show nat detail去查看NAT的hit count是否增长,建议楼主明确下具体的问题。

freshheart
Level 1
Level 1
qiangzh2 发表于 2015-5-22 22:22 back.gif
能ping通,还是网页打不开?首先确认下,能否ping通公网,配置上应该没有什么问题,是可以正常转换NAT,可以 ...

防火墙能ping统外网也能ping通内网,但是内网无法ping通外网,也无法打开网页

freshheart
Level 1
Level 1
qiangzh2 发表于 2015-5-22 22:22 back.gif
能ping通,还是网页打不开?首先确认下,能否ping通公网,配置上应该没有什么问题,是可以正常转换NAT,可以 ...

hit count并不增长啊

huoran1234
Spotlight
Spotlight
access-group 1 in interface outside把这条删了试试,ACL有一句默认的deny any any。

kuky_liu
Level 1
Level 1
最后如何解决的?
快捷链接