Cisco Certification How to enable TRACEROUTE through a Cisco PIX, ASA

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
How to enable TRACEROUTE through a Cisco PIX, ASA Joseph Keegan 09-17-07
Posted by Joseph Keegan on September 17, 2007, 11:46 pm
Please log in for more thread options
In the outside-in access-list (acl_out), make sure that the following
entries are present:

access-list acl_out permit icmp any any time-exceeded
access-list acl_out permit icmp any any unreachable
access-list acl_out permit icmp any any echo
access-list acl_out permit icmp any any echo-reply

I've seen the question asked hundreds of times, and since I finally
found how to do it without allowing ALL icmp, I thought I'd share.

Hope it helps!

-J Keegan
j keegan at ctny dot net




Posted by Brian V on September 18, 2007, 6:15 am
Please log in for more thread options

> In the outside-in access-list (acl_out), make sure that the following
> entries are present:
>
> access-list acl_out permit icmp any any time-exceeded
> access-list acl_out permit icmp any any unreachable
> access-list acl_out permit icmp any any echo
> access-list acl_out permit icmp any any echo-reply
>
> I've seen the question asked hundreds of times, and since I finally
> found how to do it without allowing ALL icmp, I thought I'd share.
>
> Hope it helps!
>
> -J Keegan
> j keegan at ctny dot net
>
>

Not quite. By opening any any echo you have now made your network pingable
from the real world. By adding unreachable you have now given the outside
world the ability you see what addresses you are using. There are only 2
things needed for trace, thats the time-exceeded and echo-reply. I would
recomend that you remove the other 2 for obvious security reasons.


Posted by itchibahn on September 27, 2007, 8:22 pm
Please log in for more thread options
>
>> In the outside-in access-list (acl_out), make sure that the following
>> entries are present:
>>
>> access-list acl_out permit icmp any any time-exceeded
>> access-list acl_out permit icmp any any unreachable
>> access-list acl_out permit icmp any any echo
>> access-list acl_out permit icmp any any echo-reply
>>
>> I've seen the question asked hundreds of times, and since I finally
>> found how to do it without allowing ALL icmp, I thought I'd share.
>>
>> Hope it helps!
>>
>> -J Keegan
>> j keegan at ctny dot net
>>
> Not quite. By opening any any echo you have now made your network pingable
> from the real world. By adding unreachable you have now given the outside
> world the ability you see what addresses you are using. There are only 2
> things needed for trace, thats the time-exceeded and echo-reply. I would
> recomend that you remove the other 2 for obvious security reasons.

If I want to allow ping, would below be acceptable?

access-list 111 deny icmp any any fragments
access-list 111 permit icmp any any echo
access-list 111 permit icmp any any echo-reply
access-list 111 permit icmp any any packet-too-big
access-list 111 permit icmp any any source-quench
access-list 111 permit icmp any any time-exceeded
access-list 111 deny icmp any any



Posted by Brian V on September 27, 2007, 11:34 pm
Please log in for more thread options

>>
>>> In the outside-in access-list (acl_out), make sure that the following
>>> entries are present:
>>>
>>> access-list acl_out permit icmp any any time-exceeded
>>> access-list acl_out permit icmp any any unreachable
>>> access-list acl_out permit icmp any any echo
>>> access-list acl_out permit icmp any any echo-reply
>>>
>>> I've seen the question asked hundreds of times, and since I finally
>>> found how to do it without allowing ALL icmp, I thought I'd share.
>>>
>>> Hope it helps!
>>>
>>> -J Keegan
>>> j keegan at ctny dot net
>>>
>> Not quite. By opening any any echo you have now made your network
>> pingable from the real world. By adding unreachable you have now given
>> the outside world the ability you see what addresses you are using. There
>> are only 2 things needed for trace, thats the time-exceeded and
>> echo-reply. I would recomend that you remove the other 2 for obvious
>> security reasons.
>
> If I want to allow ping, would below be acceptable?
>
> access-list 111 deny icmp any any fragments
> access-list 111 permit icmp any any echo
> access-list 111 permit icmp any any echo-reply
> access-list 111 permit icmp any any packet-too-big
> access-list 111 permit icmp any any source-quench
> access-list 111 permit icmp any any time-exceeded
> access-list 111 deny icmp any any
>
If that is inbound on your outside interface, you are now wide open on ICMP,
well not WIDE open, but close enough. The ONLY thing you need for you to be
able to ping out is icmp echo-reply. If you want to trace out you need
echo-reply and time-exceeded. Anything more and it's potentially a higher
security risk than needed.


Similar ThreadsPosted
How to enable TRACEROUTE through a Cisco PIX, ASA September 17, 2007, 11:46 pm
Break and TCL or traceroute January 31, 2006, 11:39 am
basic q-how to enable nat-traversal April 4, 2006, 3:10 am
PIX 520 with 5.1(4) OS enable password recovery October 7, 2006, 4:22 pm
anyone know what version of IOS I need to enable VPNs on 2501? February 7, 2005, 7:21 pm
Respected Cisco trainer Wendell Odom blogging for Network World's Cisco Subnet September 10, 2007, 5:48 pm
Cisco vs. BradReese.Com: Is Cisco winning the certified network engineer talent portal race? August 4, 2008, 10:15 pm
US - NY, NJ, AZ, PA, FLA - All Levels Cisco Pros Needed - We are Cisco placement specialists August 16, 2006, 10:37 am
CISCO - CISCO Secure Firewalls! An important Worth to Read May 17, 2007, 10:11 am
Issue with Cisco Pix 501, and MS VPN connecting to Cisco 3005 VPN? Multiple connections February 11, 2008, 10:03 am
Newly minted Cisco CCNA seeks helpful suggestions on gaining entry-level Cisco experience August 14, 2007, 3:42 am
Re: Cisco Rack Rental and Lab Scenarios for Cisco Certificat October 20, 2006, 10:25 am
Cisco pix 515 + static routes between 2 cisco pix October 13, 2005, 8:11 pm
Cisco Lab & Free Cisco Software February 10, 2006, 7:57 pm
back-to-back cisco to non-cisco cables March 6, 2005, 11:45 pm