Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

How to simplify the PIX access-list ?

I have a question about PIX ACL. I found that there are only host objects and network objects in PIX. Therefore, if I have ten machines such as,,,...... and each of them needs to access 100 subnets such as,,, ..... with ten protocols such as smtp, snmp, pop3, telnet, ssh, ftp, http, https, dns, imap, do I have to make 10 x 100 x 10 = 10000 access-lists? For Checkpoint FW-1, if I group the ten machines into a group object and group the 100 subnets as another group object and group the 10 services as a group service, then I just need one rule for this. I've tried the PIX Device Manager and search thoroughly on CCO but can't find any example that can reduce the complexity of the ruleset, could you give me some hints how people configuring PIX to reduce the number of rules? Thank you very much.

Community Member

Re: How to simplify the PIX access-list ?

You can take advantage of the bit-matching technique when writing your wildcard masks. For example, if your access list looks like this:

access-list 100 permit tcp eq 23

then 10.1.0.X (where X is an odd number less than or equal to 31) will be able to telnet to 10.0.Y.0/24 (where Y is an odd number less than or equal to 253). Note that you'll be permitting more hosts and networks than those you've specified in your example, but you'll be able to write your entire access list in 13 lines (1 line per port; some ports require multiple protocols).

CreatePlease to create content