Routing outbound mail through specific IP on WAN subnet
-
We have a /29 WAN subnet. Within that, the public IP for one of our mail server is XX.YY.ZZ.3. The pfSense "base" address is XX.YY.ZZ.6. We have strict SPF records in place for mail, so outbound messages now fail SPF tests, as the mail is supposed to be from XX.YY.ZZ.3, but is instead sent from XX.YY.ZZ.6.
I have tried to create an outbound port forward on the DMZ interface that shunts outbound SMTP/S traffic from this particular DMZ server to go out on that IP. Thus far, not working. I'm sure this is doable.
Any suggestion on how to set this up?
--Richard
-
Ignore. I blundered my way through getting it right. Thanks for your time.
--Richard
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.