Email server rules configuration
-
Hi,
I have PfSense 2.1.5 installed and NAT is configured between the FWs WAN Interface 64.100.100.50 and internal network 192.168.33.0/24 with FW LAN Interface=192.168.33.1
A mail server is installed at 192.168.33.30
Inbound mail is given the address of the FW (Internal Interface=192.168.33.1) and the email server's blocklist function can't work since it needs the originating IP instead if FW's inherited internal IP. All emails arriving to the email address are marked as originated from 192.168.33.30
How do I solve this?
Should I create a transparent bridge, or assign a virtual external IP to the WAN interface?
Could you tell me which rules to use in detail since I am new to PfSense..
Thank you in advance.
-
When you have inbound NAT rules and a connection comes in from outside, the source IP of the packet when it hits the internal server is still the outside IP address of the originating machine, not the internal interface.
-
Hmm. Maybe I was doing something wrong.. I will double check.
Thank you very much Derelict!
-
I use Hmail and have a similar setup. I do not have the same issue you do so I wonder if you have a config issue on the actual email server itself.
You don't have your email server "bound" to its own IP do you?
Im trying to think of any other config setting….