diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile
index ab86f243c..4eb667e43 100644
--- a/net/haproxy/Makefile
+++ b/net/haproxy/Makefile
@@ -1,5 +1,5 @@
PLUGIN_NAME= haproxy
-PLUGIN_VERSION= 1.5
+PLUGIN_VERSION= 1.6
PLUGIN_COMMENT= Reliable, high performance TCP/HTTP load balancer
PLUGIN_DEPENDS= haproxy
PLUGIN_MAINTAINER= opnsense@moov.de
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 bd79d7cf6..c5959903d 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
@@ -114,14 +114,14 @@
backend.tuning_timeoutConnecttext
-
+ truebackend.tuning_timeoutServertext
-
+ true
diff --git a/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/dialogFrontend.xml b/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/dialogFrontend.xml
index e090d101c..6508bbe11 100644
--- a/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/dialogFrontend.xml
+++ b/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/dialogFrontend.xml
@@ -85,7 +85,7 @@
frontend.tuning_timeoutClienttext
-
+ true
diff --git a/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/main.xml b/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/main.xml
index 73fe6fc24..17dc73ead 100644
--- a/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/main.xml
+++ b/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/main.xml
@@ -100,19 +100,19 @@
haproxy.general.defaults.timeoutClienttext
-
+ haproxy.general.defaults.timeoutConnecttext
-
+ haproxy.general.defaults.timeoutServertext
-
+ haproxy.general.defaults.retries
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 c1b55c270..b96f80ae2 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
@@ -82,25 +82,22 @@
Please specify a value between 1 and 500000.N
-
- 1
- 1000000
- 30000
- Please specify a value between 1 and 1000000.
+
+ 30s
+ /^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u
+ Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".N
-
- 100
- 1000000
- 30000
- Please specify a value between 100 and 1000000.
+
+ 30s
+ /^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u
+ Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".N
-
- 100
- 1000000
- 30000
- Please specify a value between 100 and 1000000.
+
+ 30s
+ /^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u
+ Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".N
@@ -295,10 +292,9 @@
Please specify a value between 1 and 500000.N
-
- 1
- 1000000
- Please specify a value between 1 and 1000000.
+
+ /^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u
+ Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".N
@@ -455,7 +451,7 @@
Y30m
- /^([0-9]{1,5}[d|h|m|s|ms]{1})*/u
+ /^([0-9]{1,5}(?:ms|s|m|h|d)?)/ulowerShould be a number between 1 and 5 characters followed by either "d", "h", "m", "s" or "ms".
@@ -478,16 +474,14 @@
N
-
- 100
- 1000000
- Please specify a value between 100 and 1000000.
+
+ /^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u
+ Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".N
-
- 100
- 1000000
- Please specify a value between 100 and 1000000.
+
+ /^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u
+ Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".N