pfSense HAProxy ScreenConnect setup

Ok Tom I guess this is where I am confused.

ScreenConnect Server is on Local IP 10.10.1.250
PfSense is at 10.10.1.1
HAProxy is on the PfSense so I assume it’s address is also 10.10.1.1

So I have

WAN address port 8040 going to 10.10.1.250 port 8040
WAN address port 8041 going to 10.10.1.250 port 8041

which as you keep telling me is wrong I’m just not sure were to point port 8040 of ScreenConnect I know you keep tell me it should be connecting to HAProxy but what IP is that? (This Firewall)?

Here is how I have the backend configured.

Here is how I have the frontend configured.

All the other servers I configured Unifi, Bitwarden, Nextcloud, GWN Manager all connect just fine and provide the correct cert. So your 100% right about port 8040 I am just not sure how to forward it to the HAProxy.

The worst part is at one point I had all the test passing in ScreenConnect and must have broken something when I was cleaning up all the rules. The only ports I need to worry about for ScreenConnect are 8040 and 8041 right?

Going to go watch the video over again maybe I am missing something simple.

Thanks