]> git.proxmox.com Git - pve-firewall.git/commitdiff
fix #4018: add firewall macro for SPICE
authorOguz Bektas <o.bektas@proxmox.com>
Wed, 29 Jun 2022 11:07:08 +0000 (13:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Sep 2022 15:15:57 +0000 (17:15 +0200)
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@proxmox.com>
src/PVE/Firewall.pm

index 56868d4326228f5dc6b8350bcb41e98f783db7dc..96149c5bc5f56690787f3573192794ee0ba17b76 100644 (file)
@@ -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' },