Hi,
I have been trying to implement SMTP routing for inbound and outbound SMTP traffic over a GRE tunnel. I have another thread about this but I am having some trouble with the source of inbound SMTP traffic, becoming the destination? (screenshot below of packet capture).
(40.92.74.105 - Sender of incoming mail, 10.16.0.126 - Local IP of the GRE tunnel)
I am not really sure why this is happening but I did notice when looking at the firewall log, that this traffic is using the default Firewall and NAT rule. I feel like this is NAT related, where the source IP is becoming the destination. Microsoft ended up blocking my IP address from sending mail to Outlook.com, but I have since managed to get this block removed.
To route outbound SMTP traffic to the GRE tunnel, I am using a SD-WAN route, which I have temporarily disabled so that my IP address does not get blocked again. I am not sure if this is what is causing the loop, it's highly likely that I have not configured this rule correctly (please see below screenshot).
The IP address set in the Source networks is the DMZ IP of the WAN port of the Sophos Firewall.
I know that I am probably sounding like a pain but I would greatly appreciate any advice that could be given on resolving this. Currently, I can only get outbound to work. Inbound is what I am having real trouble with. Inbound mail doesn't even reach the spool, there is no log entry of it ever getting that far. It seems to hit the firewall then be sent straight back to the sender.
Cheers,
Richard
This thread was automatically locked due to age.