Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

access list question

Status
Not open for further replies.
Feb 21, 2005
25
SA
Hai all

i have a question iam trying to block a smtp server

and i configured it in routrer and blocked it and wat

should i give finally

ip permit any any

but already ip permit any any is there should i give ip permit any any again

thanks
Carlos
 
permit ip any any should be at the bottom of the list and you only need it once .
 
no actually i create a access lits to block smtp server that comes last right then i has to make permit ip any any again right
 
You always want "permit ip any any" as the last line of the access list to avoid blocking traffic that doesn't match the rest of the list (unless of course this is what you want to happen). What else are you trying to do with the access list besides block an SMTP server? can you post the config?
 
Always put deny statements first, then permit statements, followed by the IP ANY ANY command at the bottom of the list as has been noted.

Reamin positive. The affect on those around you will amaze.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top