04-18-2013 09:08 AM - edited 03-11-2019 06:31 PM
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
Solved! Go to Solution.
04-18-2013 09:23 AM
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.
04-18-2013 09:38 AM
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
04-18-2013 09:39 AM
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
04-18-2013 09:23 AM
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.
04-18-2013 09:27 AM
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
04-18-2013 09:38 AM
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
04-18-2013 09:39 AM
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
04-18-2013 10:14 AM
Hi Julio,
Many thanks again for explaining.
ASA is very interesting.
Regards
MAhesh
04-18-2013 10:16 AM
Hello Mahesh,
My pleasure
Regards
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