Solved

Entering a range of IP's into SMTP - Can it be done?, I have a list of over 600 IP's, I'd like to enter 208.65.144.0 to 208.65.151.255 instead of typing in each address manually.

Posted on 2008-10-04
13
532 Views
Last Modified: 2012-05-05
Hello Experts,

I just signed up for MX Logic, They want me to lock down the SMTP so that only IP's     208.65.144.0   to   208.65.151.255     &     208.81.64.0  to  208.81.67.255   can be accepted.

How can I enter a range into the SMTP Connection?

I found this answer from Sembee, but the author only needed one IP:  http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_21676289.html?

I do have a list of all their IP's but there must be 1000 IP's in that list, I can't type that fast.

Thanks,

Lasareath

SMTP-Range.jpg
0
Comment
Question by:Lasareath
  • 8
  • 5
13 Comments
 
LVL 5

Expert Comment

by:valheru_m
ID: 22641243
Dos it have to be done on the Exchange server or can it be done at the firewall level?  Many firewalls have provisions to only allow certain IP ranges to access a particular port.  If you lock it down at the firewall level you dont need to make the changes on the mail server itself.
0
 

Author Comment

by:Lasareath
ID: 22641267
That's my problem, they have a cheapo $65 LinkSys firewall
0
 
LVL 5

Expert Comment

by:valheru_m
ID: 22641344
ahhh, yeah that bites.  Wish I had better news for you.. but I think it's time to set aside an afternoon for typing. :(
0
 

Author Comment

by:Lasareath
ID: 22641349
efff that, they can shell out some money for a new router!
0
 
LVL 5

Expert Comment

by:valheru_m
ID: 22641379
Are you linux savvy at all? If you are, there is a 3rd party firmware called OpenWRT that you can install on your linksys router.  It's all command line and config files, so if you're not comfortable wth that then it's defintiely not for you, bt I've successfully used shorewall (linux software firewall) on the linksys router before and that would give you the flexibility to enter rules as you see fit.
0
 

Author Comment

by:Lasareath
ID: 22641384
Not at all :(, I used some linux 20 years ago LOL

0
How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

 

Author Comment

by:Lasareath
ID: 22641973
I decided to try the following:

The range they want me to grant is

208.65.144.0  to  208.65.151.255
208.81.64.0   to  208.81.67.255

So, I typed in 208.65.0.0 / 255.255.0.0    &    208.81.0.0  /  255.255.0.0   (Are these Subnet Masks correct?)

I guess this lets in the whole class B of 208.65 & 208.81 ?

I guess I can narrow it down even further to just allow the class C's ?

So if there are any spammers on teh 208 network then they will still be able to send to the email server directly.

What you guys think?

Lasareath


I-Granted--this-Range.jpg
0
 
LVL 5

Accepted Solution

by:
valheru_m earned 500 total points
ID: 22642031
Ah, I didn't see the option to allow full networks instead of just hosts.  My apologies.  In this case, you shoudl go with the following network addresses which will narrow it down to what you want:

208.65.144.0 255.255.248.0    --> Will give you exactly 208.65.144.0 - 208.65.151.255

and

208.81.64.0 255.255.252.0  -->  Will give you exactly 208.81.64.0 - 208.81.67.255
0
 

Author Comment

by:Lasareath
ID: 22642056
They want all these ranges:

They-want-me-to-enter-these-netw.jpg
0
 
LVL 5

Expert Comment

by:valheru_m
ID: 22642090
Yes...  Thats' what those two address ranges I gave you will cover if you use the subnet masks I provided.
0
 

Author Comment

by:Lasareath
ID: 22642094
Thanks valheru!

I entered them and I will wait a little while to make sure that it is OK and then you will be awarded.

Lasareath

0
 

Author Comment

by:Lasareath
ID: 22643354
If you have MX Logic and you want to lock down your SMTP then this question is for you.

This has worked 100% for me!!!

Simply go to ESM, Servers, <your server>, Protocols, SMTP. Right click on the "Default SMTP Virtual Server" and choose Properties.
Click on the "Access" tab and then "Connections". Change the configuration from "All except the list below" to "Only the list below".
Click the Add button, Click "Group of Computers", Enter 208.65.144.0 for the Subnet Address then 255.255.248.0 for the Subnet Mask, click OK

Then Click the Add button again, Click "Group of Computers", Enter 208.81.64.0  then 255.255.252.0, click OK all the way out.

You are done, Your server will only accept emails from MX Logic

Lasareath
0
 

Author Comment

by:Lasareath
ID: 35114742
Wow I needed this again and I totally forgot what I did. Thank God this was still here!!!

Works Great!

Lasareath
0

Featured Post

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
how to add IIS SMTP to handle application/Scanner relays into office 365.

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now