projects
/
pve-firewall.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b33ce1b
)
enable hostfw for ipv4 only
author
Alexandre Derumier
<aderumier@odiso.com>
Tue, 15 Jul 2014 23:14:21 +0000
(
01:14
+0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Fri, 31 Oct 2014 11:06:34 +0000
(12:06 +0100)
currently pveproxy don't works with ipv6,
so let's generate host fw ipv4 only for the moment
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
src/PVE/Firewall.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/Firewall.pm
b/src/PVE/Firewall.pm
index 40400c8a002d1d2fe52de380a16a2e3bf4b07569..3123550fb24805e6ee96c4a8613674dc24bc2e6d 100644
(file)
--- a/
src/PVE/Firewall.pm
+++ b/
src/PVE/Firewall.pm
@@
-2925,7
+2925,7
@@
sub compile_iptables_filter {
my $ipset_ruleset = {};
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
}
eval { enable_host_firewall($ruleset, $hostfw_conf, $cluster_conf); };
warn $@ if $@; # just to be sure - should not happen
}