[pve-devel] [PATCH pve-firewall 1/1] partial fix #6226: macros: add LDAP_UDP macro

Stefan Hanreich s.hanreich at proxmox.com
Tue Mar 18 16:38:54 CET 2025


Add LDAP_UDP macro to the firewall to support LDAP implementations
that use UDP as well, such as Windows AD [1]

[1] https://learn.microsoft.com/de-de/troubleshoot/windows-server/active-directory/config-firewall-for-ad-domains-and-trusts

Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 src/PVE/Firewall.pm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm
index 533f2a2..bb546c7 100644
--- a/src/PVE/Firewall.pm
+++ b/src/PVE/Firewall.pm
@@ -360,6 +360,10 @@ my $pve_fw_macros = {
 	"Lightweight Directory Access Protocol traffic",
 	{ action => 'PARAM', proto => 'tcp', dport => '389' },
     ],
+    'LDAP_UDP' => [
+	"Lightweight Directory Access Protocol traffic via UDP",
+	{ action => 'PARAM', proto => 'udp', dport => '389' },
+    ],
     'LDAPS' => [
 	"Secure Lightweight Directory Access Protocol traffic",
 	{ action => 'PARAM', proto => 'tcp', dport => '636' },
-- 
2.39.5




More information about the pve-devel mailing list