cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13195
Views
0
Helpful
6
Replies

Blocking a IP address on ASA

mahesh18
Level 6
Level 6

                   Hi Everyone,

Need to block all connections going to particular IP address on the internet.

Also we do not want any connection coming from that IP to our ASA.

Need to know which interface should i apply  the ACL?

Outside interface of ASA?

Thanks

MAhesh

3 Accepted Solutions

Accepted Solutions

lcambron
Level 3
Level 3

Hello Mahesh,

If you want to block traffic to that IP from any interface, then you can apply it on the outside interface outbound direction:

access-list name deny ip any host x.x.x.x

access-list name permit ip any any

access-group name out interface outside

Regards,

Felipe.

View solution in original post

Hello Mahesh,

If i need to block traffic coming from that IP  to ASA  then i can apply it to outside interface but in inside direction?

Exactly, inbound direction

So when we apply ACL  to outside interface of ASA  how does it block all other interfaces also?

Because you will not only block traffic TO the box but also traffic through the box to another devices on other interfaces, this will be block as long as it needs to go via the outside

interface

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

View solution in original post

Just to add

If traffic to the box is via SSH, Telnet or ASDM you could block it with each of those command sets configuration, no need for an ACL for that traffic,

Regards

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

View solution in original post

6 Replies 6

lcambron
Level 3
Level 3

Hello Mahesh,

If you want to block traffic to that IP from any interface, then you can apply it on the outside interface outbound direction:

access-list name deny ip any host x.x.x.x

access-list name permit ip any any

access-group name out interface outside

Regards,

Felipe.

Hi Felipe,

If i need to block traffic coming from that IP  to ASA  then i can apply it to outside interface but in inside direction?

So when we apply ACL  to outside interface of ASA  how does it block all other interfaces also?

Thanks

MAhesh

Hello Mahesh,

If i need to block traffic coming from that IP  to ASA  then i can apply it to outside interface but in inside direction?

Exactly, inbound direction

So when we apply ACL  to outside interface of ASA  how does it block all other interfaces also?

Because you will not only block traffic TO the box but also traffic through the box to another devices on other interfaces, this will be block as long as it needs to go via the outside

interface

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

Just to add

If traffic to the box is via SSH, Telnet or ASDM you could block it with each of those command sets configuration, no need for an ACL for that traffic,

Regards

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

Hi Julio,

Many thanks again for explaining.

ASA  is very interesting.

Regards

MAhesh

Hello Mahesh,

My pleasure

Regards

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC
Review Cisco Networking for a $25 gift card