From: Alexandre Derumier Date: Tue, 15 Jul 2014 23:14:21 +0000 (+0200) Subject: enable hostfw for ipv4 only X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=78a72bc4b25a2b32a470e2d39fd1fcd120dafbdc;ds=sidebyside enable hostfw for ipv4 only currently pveproxy don't works with ipv6, so let's generate host fw ipv4 only for the moment Signed-off-by: Alexandre Derumier --- diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index 40400c8..3123550 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -2925,7 +2925,7 @@ sub compile_iptables_filter { my $ipset_ruleset = {}; - if ($hostfw_enable) { + if ($hostfw_enable && $ipversion eq 4) { eval { enable_host_firewall($ruleset, $hostfw_conf, $cluster_conf); }; warn $@ if $@; # just to be sure - should not happen }