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
534 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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
 

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

813 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

10 Experts available now in Live!

Get 1:1 Help Now