This happens because pfsense is also not working option "reply-to" for virtual interfaces (e.g., openvpn,vti ...)The traffic that came through the virtual tunnel will never return through the same gateway back.The solution to this problem is to use outbound NAT for this traffic on the other end of the tunnel
Code: [Select][Internet] ----(WAN)---- [Firewall DC1] | | (IPSEC VTI) | |[Internet] ----(WAN)---- [Firewall DC2] | | (Transit Network) | | [Internal LAN] ------- [Web Servers]HiThis is a known PF problem, and it has been discussed here many times. Via virtual interfaces (VTI, GRE,OpenVPn,...) the function "Reply-to" does not work. Therefore, all external traffic will ALWAYS return through the default gateway DC2 (WAN interface DC2). To solve this problem you need to:Use NAT Outbound on the interface VTI DC1 for all external traffic that is forwarded for the WEB server (DC2 side)or change the default gateway to VTI DC1 (DC2 side)
[Internet] ----(WAN)---- [Firewall DC1] | | (IPSEC VTI) | |[Internet] ----(WAN)---- [Firewall DC2] | | (Transit Network) | | [Internal LAN] ------- [Web Servers]