Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Networking (https://www.askmehelpdesk.com/forumdisplay.php?f=76)
-   -   Sonicwall Port 25 exception (https://www.askmehelpdesk.com/showthread.php?t=470381)

  • May 12, 2010, 10:21 AM
    EyeNoNothing
    Sonicwall Port 25 exception
    I'm hoping someone can help me out here. Our company has a new Sonicwall Firewall installed. We recently became blacklisted due to a virus/trojan and some SPAM. I believe I need to block all outgoing traffic on Port 25 except that of our mail server but I'm not entirely sure how to go about it.

    I did not originally set up the firewall, but I do have admin access and some history with watchguard configs.
  • May 20, 2010, 02:57 PM
    raj2160

    This is actually easier than you think and is done for all companies I've worked for

    You just need to create the acl with allow entries before deny entries

    So allow mail host any port 25
    Deny any any port 25

    Depending on where you put the entry ingress (in) port or egress (out) port you'll need to pay attention to the internal or natted ip of the mail server and of course you don't want to have this as an incoming entry from your internet port because then you'll block all mail traffic coming into your domain.

    Best to put the acl on your egress (internet) port with direction out to minimize cpu utilization
  • May 21, 2010, 05:54 AM
    EyeNoNothing
    Thanks raj! I set it up to block all outgoing to port 25 then created one to allow the IP of the mail server and listed it as a higher priority than the deny all. We can still send mail so it appears to be working!

  • All times are GMT -7. The time now is 05:13 PM.