06-22-2004 11:25 AM - edited 02-20-2020 11:28 PM
Is it possible to log unwanted traffic destined for the outside interface to be logged? Such as port scans and non IDS traffic. Denied tcp/udp traffic. For example: A Cisco PIX 501 with a DHCP assigned outside interface. Is it possible to log denied connections to the outside interface IP address without going to Debug syslog levels. Traffic would never be addressed to an inside address with them being private so how is logging possible? Traffic destined for the ip address of the external interface is simply not logged for whatever reason. I'm looking for 106023 type messages.
06-22-2004 07:36 PM
To see 106023 log messages for denied packets you do still need an ACL on the interface, something like:
access-list inbound deny ip any any
access-group inbound in interface inside
To see 106100 messages, which have more detail than 106023's, add the "log" keyword to the end of the ACL.
Either way, these are syslog messages so to see them you need to configure the "logging" command appropriately.
06-23-2004 04:40 AM
All that did was block inside traffic from going out, logging 106023's. I want 106023's to log when someone is scanning my outside ip for that fact, my only ip. I changed the 710005 to a warning level which does essentially what I want logging denied access to that ip but I thought there was a way to get 106023 and similar.
06-23-2004 05:59 PM
Whoops, I told you to add that to the inside interface, which is wrong (actually I thought I changed that after the fact but it musn't have taken). Add the access-list as follows:
access-list inbound in interface outside
Note it is applied to the outside int, NOT the inside like my original post says. Your internal users will still be able to go out now and their return traffic will be allowed back in. Anything originated from the outside should be logged.
My apologies again.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide