]> git.proxmox.com Git - pve-firewall.git/commitdiff
macros: add macro for Proxmox Mail Gateway web interface
authorChristian Ebner <c.ebner@proxmox.com>
Tue, 21 Jan 2020 09:24:30 +0000 (10:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 25 Jan 2020 15:22:21 +0000 (16:22 +0100)
Macro to allow access to the PMG web interface when hosted on PVE.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
src/PVE/Firewall.pm

index 4a534d06f9a2fc02d406403f9d109e786d598e96..255bb9aaa790e46d02b0e678b51c3bc7ab315bc3 100644 (file)
@@ -394,6 +394,10 @@ my $pve_fw_macros = {
        { action => 'PARAM', proto => 'udp', dport => '5632' },
        { action => 'PARAM', proto => 'tcp', dport => '5631' },
     ],
+    'PMG' => [
+       "Proxmox Mail Gateway web interface",
+       { action => 'PARAM', proto => 'tcp', dport => '8006' },
+    ],
     'POP3' => [
        "POP3 traffic",
        { action => 'PARAM', proto => 'tcp', dport => '110' },