cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1404
Views
0
Helpful
1
Replies

Blocking A Suspicious IP Address

sadik.bash
Level 1
Level 1

Hell,

I have discovered that there is a suspecious IP address that I need to block from accessing our network. It is a potential attack on our network. Would be the best way to accomplish that on the ASA?

Much appreciated.

Best, ~sK

1 Accepted Solution

Accepted Solutions

Marvin Rhoads
Hall of Fame
Hall of Fame

Assuming you allow outside traffic in to a web server via some NATted address...

Precede your existing "permit" access-list entry with a deny for that specific IP address. The syntax varies according to how you've allowed access in your existing configurations; but it would generally look something like this:

access-list outside-in deny tcp host host eq www

access-list outside in permit tcp any host eq www

The key element is for the deny entry to be encountered first since ACE entries are processed in order with the first match kicking the packet out to the next element in the system for processing. Matching a "deny" ACE will discard the packet.

View solution in original post

1 Reply 1

Marvin Rhoads
Hall of Fame
Hall of Fame

Assuming you allow outside traffic in to a web server via some NATted address...

Precede your existing "permit" access-list entry with a deny for that specific IP address. The syntax varies according to how you've allowed access in your existing configurations; but it would generally look something like this:

access-list outside-in deny tcp host host eq www

access-list outside in permit tcp any host eq www

The key element is for the deny entry to be encountered first since ACE entries are processed in order with the first match kicking the packet out to the next element in the system for processing. Matching a "deny" ACE will discard the packet.

Review Cisco Networking for a $25 gift card