We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

I am on the EMAIL Blacklist

dfisher68
dfisher68 asked
on
Medium Priority
681 Views
Last Modified: 2013-11-30
my ip address has been put on the email blacklist.  I am in the process of checking all staff computers for the cutwail2 spamBOT  that is being reported as infected on my network.

My questions is, according to CBL, i should "configure your NAT to prohibit connections to the Internet on port 25 except from real mail servers".

How do i do this with my NetGear FVS338?
Comment
Watch Question

Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
Look at the attached and add the Outbound rules - just change hte 10.0.0.2 IP for your internal IP Address of your mail server.
FVS338.jpg

Commented:
Basically what you want to do is prohibit all systems in your network from passing traffic over port 25 (SMTP) to the internet except for your mail server.

I took a quick look at the manual for your firewall ftp://downloads.netgear.com/files/FVS338_RM_28Feb09.pdf and it looks like you're going to need to create a couple rules.

The order of precedence matters as the packets are subjected to the rules in the order shown in the rules table, beginning from the top and proceeding to the bottom.  Therefore you're going to need to put in a rule that blocks all SMTP traffic from your LAN to the internet.  You're also going to need a rule that allows SMTP traffic coming from the IP address of your mail server.  The allow rule for your mail server should reside above the block rule so it will get processed first.

This will allow your mail server to send to the internet, but any computers that are infested with a virus will be unable to send.  There are some visual examples in the manual linked above under Chapter 4:  Setting LAN WAN Rules

Commented:
Looking at alan's example above I might have misread the order that the rules get processed...
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
My info is slightly wrong - in the first SMTP block - don't add all IP's create a range that misses out your server - just done this on mine and it blocks the flow if you block all.  Sorry.
This one works

FVS338.jpg
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
If you set the default outbound policy to block, make sure you add other allow policies such as DNS, POP3, IMAP, HTTP, HTTPS etc if you use those services.

Author

Commented:
thanks to both of you.  i added the rules and email is still flowing, so thats good.  Now i just need all the field staff to get their computers updated and scanned.  
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
Follow xmachines's advice on the following link - wireshark will be your best friend!
https://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_24463550.html?cid=238#a24606079 
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
Malwarebytes (www.malwarebytes.org) may also help you out here.  It is free and a darn good tool.
Combofix is another - http://www.bleepingcomputer.com/combofix/how-to-use-combofix

Author

Commented:
alan - i set the rule before seeing your response about creating a "block range" and email seems to be working.
Co-Owner
CERTIFIED EXPERT
Top Expert 2011
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
You can restrict the other protocols if you wish to the server only exactly or as you need.

Author

Commented:
IMAP4 is not in my list of services, what port do i use if i need to enter it manually.  Also, i have two emails i use, one is the work exchange and one is my comcast account.  I added the rules above (after setting default to block) and now my comcast email cant send and receive - i have outlook configured to use comcast on one of my computers.

as for all the other advice on the sniffers and removing the virus, thank you all.  I have some work to do.
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
IMAP4 is port 143 in case you need to add the service.
The comcast won't sent now because you blocked it.  If you need to send out email via SMTP on your computer, you have to allow it through the firewall now.  Modify the block for SMTP (might have to create another rule to start after your IP) and adjust the existing block to stop before your IP.  Then add an allow for your IP only, but make sure you are not the infected computer first!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.