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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deny Port 25 on all the computers / but no server

Status
Not open for further replies.

userice

Technical User
Oct 24, 2002
78
US
How can I deny port 25 on all the comptuer (192.168.1.10~50) but not the server 192.168.1.1.
I don't want to write mutiple ACL. If there a way, I just have to type in one line of ACL?
Thank you
 
For example, would this work?

access-list acl_out_smtp permit tcp host 192.168.1.1 any eq 25
access-list acl_out_smtp deny tcp any any eq 25

access-list acl_out_smtp permit ip any any
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top