Solved

Cisco ASA5505 How to Block IP from internet access not internal resources VIA ASDM 6.4

Posted on 2013-01-11
4
3,603 Views
Last Modified: 2013-04-10
I have a ASA5505 I need to know how to block certain IP address from reaching the internet but, still allowing them to access internal resources file server print etc.
0
Comment
Question by:cameljoe121
  • 3
4 Comments
 
LVL 21

Expert Comment

by:mcsween
Comment Utility
This would be done with an ACL applied to the inside interface.  Assuming the ACL is called inside_access_in the command to block 10.10.10.10 from the internet would be


access-list inside_access_in extended deny ip 10.10.10.10 255.255.255.255 any
access-group inside_access_in in interface inside

Open in new window


If you have multiple subnets on your internal network and the ASA is your default gateway you might need a couple permit lines in front of the deny line.  Let's say 10.10.10.10 is on 255.255.0.0 subnet and you also have 10.20.0.0/16 and 10.30.0.0/16 networks they need to reach.

access-list inside_access_in extended permit ip 10.10.10.10 255.255.255.255 10.20.0.0 255.255.0.0
access-list inside_access_in extended permit ip 10.10.10.10 255.255.255.255 10.30.0.0 255.255.0.0
access-list inside_access_in extended deny ip 10.10.10.10 255.255.255.255 any
access-group inside_access_in in interface inside

Open in new window

0
 
LVL 57

Expert Comment

by:Pete Long
Comment Utility
Via the ASDM

1. Config > Firewall > Add
2. Add the blocked IP
3. Add Access Rule
4. Insert a new rule on the inside (incoming)
5. Make sire your new rule is at the top
6. Save the changes
This would stop my internal IP address 10.254.254.113 from getting to the outside of the firewall.
0
 
LVL 57

Accepted Solution

by:
Pete Long earned 500 total points
Comment Utility
Warning: If you have no other filtering (outbound) you need to have an allow directly below that rule or all traffic flow outbound will stop. like so,

allow
0
 
LVL 57

Expert Comment

by:Pete Long
Comment Utility
Here You go, I've written it up for you.

Cisco ASA 5500 - Deny a Single IP Address External Access



Pete
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Imagine you have a shopping list of items you need to get at the grocery store. You have two options: A. Take one trip to the grocery store and get everything you need for the week, or B. Take multiple trips, buying an item at a time, to achieve t…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now