Add a class C range access rule

This is probably a really simple answer, but for some reason I'm drawing a blank.

How do I add an entire class C range for an access rule?

For example 192.168.1.[1-255]

I'm using ASDM 5.2 on a PIX515.

Thanks!
LVL 1
charvettAsked:
Who is Participating?
 
mlongohCommented:
Yeah, it's like this:
access-list acl_outbound permit tcp 192.168.1.0 255.255.255.0 any eq www

I looked it up.  This would add the whole class C to the rule acl_outbound and allow port 80.

Does that give you what you need?
0
 
mlongohCommented:
If I remember correctly the address would be 192.168.1.0 255.255.255.0.
0
 
charvettAuthor Commented:
Thanks mlongoh!

That's kind of what I was thinking, but for some reason I wasn't sure. Can anyone else confirm?
0
 
charvettAuthor Commented:
Thanks!
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.

All Courses

From novice to tech pro — start learning today.