?
Solved

How do I create an access list which denies smtp to all nodes except the email server?

Posted on 2009-07-02
2
Medium Priority
?
216 Views
Last Modified: 2012-05-07
How do I create an access list which denies smtp to all nodes except the email server?
0
Comment
Question by:aramirez-1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Expert Comment

by:nasirsh
ID: 24771188
access-list 10 permit tcp host E-Mail Server any eq 25
access-list 10 deny tcp any any
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 2000 total points
ID: 24781066
That'll deny a lot more than email, and you can't use a standard acl number, it has to be extended number range.

Assuming that you are applying this to an inbound interface:

access-list 110 permit tcp any host <mail server ip> eq 25
access-list 110 deny tcp any any eq 25
access-list 110 permit ip any any
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question