• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 507
  • Last Modified:

Block multiple IPs

hi,

I have ASA 5520 with (IPS) SSM-20, i would like if possible to block all incoming IPs "Country IP Range" (from outside to DMZ) except X country .

Thanks,
0
rasa78
Asked:
rasa78
  • 2
  • 2
1 Solution
 
DanJCommented:
check the Ip database http://www.countryipblocks.net/country-blocks/ip-range-format/
to find the cidr prefixes for the desired contry.
then you need to allow only from those IPs and deny everything. This should be easy as you only have to allow, there is an implicit deny at the end.
0
 
rasa78Author Commented:
Thanks for your help, but i need more help from how to deny any to any except this range ? if possible can i do it from ASDM, i have version 6.4 .

Thanks,
0
 
Ernie BeekExpertCommented:
I think it's easier to allow only the range of country X and deny the rest. You could then set it up like:

access-list inside permit ip any 1.2.3.0 255.255.255.0
access-list inside permit ip any 1.2.4.0 255.255.255.0
First allowing the country range(s)
access-list inside deny ip any any
After after that block anything.

Then apply it to the inside interface (we're blocking from the inside to the outisde):
access-group inside in interface inside
0
 
Ernie BeekExpertCommented:
?

So you didn't need more help?
0
 
rasa78Author Commented:
Sorry erniebeek i didn't see your comments , thanks again and my problem solved :) thanks for all .
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The IT Degree for Career Advancement

Earn your B.S. in Network Operations and Security and become a network and IT security expert. This WGU degree program curriculum was designed with tech-savvy, self-motivated students in mind – allowing you to use your technical expertise, to address real-world business problems.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now