Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New ASA 5505 help. 1

Status
Not open for further replies.

scott0011

Technical User
Dec 1, 2008
22
US
Hi, my company recently purchased a new ASA 5505 to replace our ancient SOHO3. I went through the setup and change the internal ip on vlan1 (inside) to match our internal LAN, and defined the external ip on vlan 2 (outside) to our static ip assigned by our ISP. I also defined the DNS servers for our ISP in the Configuration section of the ASDM. I put the ASA 5505 in place and I can access the internal stuff fine but have no outside access and of course I get the error about unable to locate egress interface. I have poured over the pdfs provided but am apparently missing an obvious step or something. Any help would be appreciated.

-S
 
Can you post a config? (mask the middle 2 octets of the public IPs and mask the passwords)

I need to see but you probably don't have the default gateway set.


this is a minimum to get you up and running - the bold stuff is the important stuff

hostname [firewall_name]
domain-name [domain.name]
names
!
interface Vlan1
nameif inside
security-level 100
ip address [ip_address] [subnet_mask]
!
interface Vlan2
nameif outside
security-level 0
ip address [external_ip_address] [subnet_mask]
!
interface Vlan3
no forward interface Vlan1
nameif dmz
security-level 50
no ip address
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
pager lines 24
logging enable
logging timestamp
logging buffered warnings
logging device-id hostname

logging asdm informational
mtu inside 1500
mtu outside 1500
mtu dmz 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-522.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0
route outside 0.0.0.0 0.0.0.0 [gateway_ip_address]
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 uauth 0:05:00 absolute
http server enable
http [internal_subnet] [internal_subnet_mask] inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0
only if you have ASA as dhcp server
dhcpd dns [dns_server_ip]
dhcpd wins [wins_server_ip]
dhcpd auto_config outside
!
dhcpd address [dhcp_starting_address]-[dhcp_ending_address] inside
!

!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
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
!
service-policy global_policy global
prompt hostname context

Brent
Systems Engineer / Consultant
CCNP, CCSP
 
: Saved
: Written by enable_15 at 23:58:55.074 UTC Mon Dec 1 2008
!
ASA Version 7.2(4)
!
hostname ciscoasa
domain-name bosanova.net
enable password xxxxxx
passwd xxxxxx
names
name 192.168.xxx.xxx uk-network
!
interface Vlan1
nameif inside
security-level 100
ip address 172.16.xxx.xxx 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 209.33.xxx.xxx 255.255.255.248
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
dns domain-lookup outside
dns server-group DefaultDNS
name-server 209.253.xxx.xxx
name-server 209.253.xxx.xxx
domain-name bosanova.net
access-list inside_nat0_outbound extended permit ip 172.16.xxx.xxx 255.255.255.0 uk-
network 255.255.255.0
access-list outside_1_cryptomap extended permit ip 172.16.xxx.xxx 255.255.255.0 uk-n
etwork 255.255.255.0
pager lines 24
logging enable
logging asdm informational
mtu outside 1500
mtu inside 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-524.bin
asdm location uk-network 255.255.255.0 inside
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0
route outside 209.33.xxx.xxx 255.255.255.248 209.33.xxx.xxx 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
http server enable
http 172.16.xxx.xxx 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set pfs group1
crypto map outside_map 1 set peer 81.178.67.12
crypto map outside_map 1 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 1
lifetime 86400
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd auto_config outside
!
dhcpd address 172.16.xxx.xxx-172.16.xxx.xxx inside
dhcpd enable inside
!

tunnel-group 81.178.xxx.xxx type ipsec-l2l
tunnel-group 81.178.xxx.xxx ipsec-attributes
pre-shared-key *
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
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
!
service-policy global_policy global
prompt hostname context
Cryptochecksum
 
your route outside is wrong
should be
route outside 0 0 gateway_ip

it will fill in the extra 0s



Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top