Dumb SMTP block outbound question
-
I think it must be Monday, and not Thursday…..
I'm trying to write a firewall rule that will block all smtp (port 25) traffic going out the WAN port, EXCEPT from on smtprelay server that I have set up on my LAN.Do I create the rule on the WAN port or the LAN port?
Blood sugar must be low because this should be a "no brainer" but the brain just isn't working today.Will anyone take pity and suggest the correct rule configuration?
TIA - Paul
PS, Is it Friday yet? -
Add a block rule to LAN.
Protocol: TCP (or any)
Source: check "invert match." and select "Singel host or alias" and enter the smtp-relay address.
Destination port range: SMTPPut the rule above any which could allow this traffic.
-
Sweet! Thanks so much!
-
another method is to create rule that allows your IP you want out 25, then rule just below that blocks all to 25.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy