Solved

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

Posted on 2009-07-02
2
213 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 500 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
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

724 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