]> git.proxmox.com Git - pve-firewall.git/blobdiff - src/PVE/Firewall.pm
firewall macros: add new Ceph protocol v2 port while keeping v1 port
[pve-firewall.git] / src / PVE / Firewall.pm
index c946040404a2636812407013a684d6bea12fe2d7..0e15090f3d7940c680fcc5aa8a6744d04d54f0e7 100644 (file)
@@ -214,7 +214,10 @@ my $pve_fw_macros = {
     ],
     'Ceph' => [
         "Ceph Storage Cluster traffic (Ceph Monitors, OSD & MDS Deamons)",
+       # Legacy port for protocol v1
         { action => 'PARAM', proto => 'tcp', dport => '6789' },
+       # New port for protocol v2
+        { action => 'PARAM', proto => 'tcp', dport => '3300' },
         { action => 'PARAM', proto => 'tcp', dport => '6800:7300' },
     ],
     'CVS' => [
@@ -1760,7 +1763,7 @@ sub ip6tables_restore_cmdlist {
 sub ipset_restore_cmdlist {
     my ($cmdlist) = @_;
 
-    run_command(['ipset restore'], input => $cmdlist, errmsg => "ipset_restore_cmdlist");
+    run_command(['ipset', 'restore'], input => $cmdlist, errmsg => "ipset_restore_cmdlist");
 }
 
 sub ebtables_restore_cmdlist {