On Mon, May 30, 2022 at 11:58 PM Henning Svane <h...@energy.dk> wrote:

> Hi
>
> I have a strange problem.
>
>
>
> I have a HAProxy with 2 NICs
>
> NIC 1 VLAN 110 HAProxy have IP 10.40.152.10/28
>
> NIC 2 VLAN 120 HAProxy have IP 10.40.252.10/28 is also the VLAN for
> Exchange server IP 10.40.252.11/28
>
>
>
> I have a outlook client in VLAN 100 10.40.2.1/24
>
> I have 2 cases for testing:
>
> Case 1: VLAN 100 <-> FW <-> (NIC 1VLAN 110) HAProxy ( NIC 2 Exchange VLAN
> 120) <-> Exchange Server
>
> Autodiscover.domain.com 10.40.152.10
>
> Mail.doamin.com 10.40.152.10
>
> Frontend:
>
> acl XMail hdr(host) -i mail. domain.com autodiscover. domain.com
> domain.com
>
> acl XMail_Autodiscover url_beg -i /Autodiscover
>
> use_backend HA_DAG_XMail_Autodiscover                            if XMail
> XMail_Autodiscover
>
>
>
> Backend HA_DAG_XMail_Autodiscover:
>
> server XMailDB01 XMailDB01.domain.com:443  maxconn 100 ssl ca-file
> /etc/haproxy/crt/mail_domain_com.pem
>
>
>
> Case 2: VLAN 100 <-> FW <-> VLAN 120 Exchange Server
>
> Autodiscover.domain.com 10.40.252.11
>
> Mail.doamin.com 10.40.252.11
>
>
>
> Case 1 gives HTTP Error 401 and 500
>
> Case 2 works as it should
>
>
>
> Case 1
>
> I have tried with fiddler to find out what goes on but have not found out
> why I get Error 401 and 500
>
> I am capturing traffic from both NIC 1 and NIC 2 but I cannot relay find
> out what is going on and how to see what is the problem.
>
>
>
> Hope somebody have an idear how to fix this.
>
>
>
> Regards
>
> Henning
>


Hi Henning,

You can start HAProxyin debug mode and check what happens and also share
generated log lines, they may contain useful information such as
termination status code for the session.

Baptiste

Reply via email to