OPNsense Forum

English Forums => General Discussion => Topic started by: it.dep on May 24, 2019, 10:27:22 am

Title: OPNsense replasing sender's IP address in header
Post by: it.dep on May 24, 2019, 10:27:22 am
Hi guys!

The scheme of the mail server:
Internet -> Gateway 192.168.2.1 -> OPNsense Haproxy 192.168.2.8 -> Exchange2019 192.168.2.5

According to this scheme, in all incoming letters to Exchange, the IP address of the sender is replaced with the IP address 192.168.2.8 (OPNsense Haproxy).

In the screenshots it is clearly visible: True IP - configuration without OPNsense, False IP - configuration with OPNsense.

True IP
(https://c.radikal.ru/c34/1905/af/d940056db58f.png) (https://radikal.ru)

False IP
(https://d.radikal.ru/d35/1905/03/27081a335f04.png) (https://radikal.ru)

We use spam filter ORF Fusion. For spam filter to work correctly, it is necessary that all incoming messages are with the sender's IP addresses, and not replaced by local IP OPNsense.

Is it possible to fix it? What can we do in this situatuation?