Koozali.org: home of the SME Server

block port 25 outbound for all but one ip address

datecse

block port 25 outbound for all but one ip address
« on: May 31, 2007, 04:41:26 PM »
Hello,
 Can anyone help me write a rule to block all outbound port 25 traffic except from one internal ip address? I have an Exchange server behind an SMEserver that is running spamassassin.

datecse

Thanks for all the help.
« Reply #1 on: June 10, 2007, 06:02:52 AM »
Thanks for all the help.


Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
block port 25 outbound for all but one ip address
« Reply #3 on: June 12, 2007, 12:46:00 PM »
> Thanks for all the help.

you received help, now we need your feedback
the link above blocks 25
another bug shows you how to let one ip address bypass iptables

feedback to the individual bugs