Solved

block a single IP or a range of IPs on PIX

Posted on 2007-03-26
5
433 Views
Last Modified: 2010-04-12
I want to block a specific host from reaching my dmz subnet.

In the example the host is 182.135.34.250 and the IP of the dmz subnet is 198.128.181.0/24

These lines don't work.

access-list outside deny ip host 182.135.34.250 host 198.128.181.226
access-list outside deny ip host 182.135.34.250 198.128.181.0 255.255.255.0

What am I doing wrong?
0
Comment
Question by:nummagumma2
5 Comments
 
LVL 28

Accepted Solution

by:
batry_boy earned 168 total points
ID: 18796493
As long as the translated public IP address of the DMZ subnet is 198.128.181.xxx then it should work as long as it's applied to the outside interface.  What do your statics and access-group statements look like?
0
 
LVL 79

Assisted Solution

by:lrmoore
lrmoore earned 166 total points
ID: 18800102
They should work fine. Can you post result of "show access-list". Look for increase # in (Hitcount= xxx)
Do you have any permit statements above it? i.e.
 access-list outside permit tcp any host 198.128.181.226 eq www
 access-list outside deny ip host 182.135.34.250 host 198.128.181.226

The permit will allow the packet and will never hit the deny.
0
 
LVL 29

Assisted Solution

by:Alan Huseyin Kayahan
Alan Huseyin Kayahan earned 166 total points
ID: 18800994
make sure you tagged this acl group to interface by typing
access-group outside in interface dmz
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Cisco Pix/ASA hairpinning The term, hairpinning, comes from the fact that the traffic comes from one source into a router or similar device, makes a U-turn, and goes back the same way it came. Visualize this and you will see something that looks …
This is about downgrading PIX Version 8.0(4) & ASDM 6.1(5) to PIX 7.2(4) and ASDM 5.2(4) but with only 64MB RAM and 16MB flash. Background: You have a Cisco Pix 515E which was running on PIX 7.2(4) and its supporting ASDM 5.2(4) without any i…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

707 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

18 Experts available now in Live!

Get 1:1 Help Now