[pve-devel] [PATCH firewall] fix #4018: add firewall macro for SPICE

Oguz Bektas o.bektas at proxmox.com
Wed Jun 29 13:07:08 CEST 2022


uses port 3128 (same as squid)

although it's enabled by default for the "management" ipset, it doesn't
hurt to add it in there.

Signed-off-by: Oguz Bektas <o.bektas 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 71746d2..86985e0 100644
--- a/src/PVE/Firewall.pm
+++ b/src/PVE/Firewall.pm
@@ -494,6 +494,10 @@ my $pve_fw_macros = {
 	{ action => 'PARAM', proto => '41' },
 	{ action => 'PARAM', proto => 'udp', dport => '5072,8374' },
     ],
+    'SPICE' => [
+	"SPICE display proxy traffic",
+	{ action => 'PARAM', proto => 'tcp', dport => '3128' },
+    ],
     'Squid' => [
 	"Squid web proxy traffic",
 	{ action => 'PARAM', proto => 'tcp', dport => '3128' },
-- 
2.30.2






More information about the pve-devel mailing list