06-08-2005
07:24 AM
- last edited on
02-21-2020
11:15 PM
by
cc_security_adm
I have the need to remove the implicit permit rule on a PIX 501, can this be done?
06-08-2005 11:49 AM
Just apply an access list to the interface as follows:
access-list inside deny ip any any
access-group inside in interface inside
By default, when you apply an access list to any interface there is an implied "deny ip any any". However, I like to actually put it inside the access list so I can see it.
Remember, if you add a rule to the access list, the rule gets placed below the "deny ip any any". So you must always execute the following to make your rule active:
no access-list inside deny ip any any
access-list inside deny ip any any
06-08-2005 12:28 PM
If you are running a current version of the code, you don't have to take out the deny access-list and put it back in. You can just insert the access-list on what line you specify. This lets you put it above the deny statement.
access-list inside permit line 1 host x.x.x.x host y.y.y.y
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide