diff --git a/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/dialogBackend.xml b/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/dialogBackend.xml
index 5c6111295..592d39369 100644
--- a/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/dialogBackend.xml
+++ b/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/dialogBackend.xml
@@ -77,6 +77,20 @@
checkbox
+
+ backend.healthCheckFall
+
+ text
+
+ true
+
+
+ backend.healthCheckRise
+
+ text
+
+ true
+
header
diff --git a/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml b/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml
index 4a3e48460..8896d6f82 100644
--- a/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml
+++ b/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml
@@ -664,6 +664,18 @@
0
N
+
+ 1
+ 100
+ Please specify a value between 1 and 100.
+ N
+
+
+ 1
+ 100
+ Please specify a value between 1 and 100.
+ N
+
N
sourceipv4
diff --git a/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf b/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf
index c3392cfa6..cb58fc47b 100644
--- a/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf
+++ b/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf
@@ -1012,6 +1012,14 @@ backend {{backend.name}}
{% if server_data.checkDownInterval|default("") != "" %}
{% do server_options.append('downinter ' ~ server_data.checkDownInterval) %}
{% endif %}
+{# # unhealthy threshold #}
+{% if backend.healthCheckFall|default("") != "" %}
+{% do server_options.append('fall ' ~ backend.healthCheckFall) %}
+{% endif %}
+{# # healthy threshold #}
+{% if backend.healthCheckRise|default("") != "" %}
+{% do server_options.append('rise ' ~ backend.healthCheckRise) %}
+{% endif %}
{# # use a different port for health check #}
{% if healthcheck_data.checkport|default("") != "" %}
{# # prefer port from health check template #}