fix PVEFW-FORWARD chain not being used
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 17 May 2018 11:09:23 +0000 (13:09 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 17 May 2018 11:09:23 +0000 (13:09 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/Firewall.pm

index 8f545e7..96cf9bd 100644 (file)
@@ -3865,7 +3865,7 @@ sub get_ebtables_cmdlist {
        $cmdlist .= ":$chain ACCEPT\n";
     }
 
-    if ($ruleset->{FORWARD}) {
+    if ($ruleset->{'PVEFW-FORWARD'}) {
        $cmdlist .= "-A FORWARD -j PVEFW-FORWARD\n";
     }