From 1ff775defc7f1adaf32095fe30592bec69ebd5d9 Mon Sep 17 00:00:00 2001 From: Fede Date: Sun, 21 Oct 2007 18:44:16 -0300 Subject: [PATCH] Se agrega el POLICY al script para que el NAMED no se queje. --- pymin/services/firewall/templates/iptables.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pymin/services/firewall/templates/iptables.sh b/pymin/services/firewall/templates/iptables.sh index bb67d9a..80f4a32 100644 --- a/pymin/services/firewall/templates/iptables.sh +++ b/pymin/services/firewall/templates/iptables.sh @@ -15,6 +15,10 @@ def optional(switch, value): /usr/sbin/iptables -t filter -F +/usr/sbin/iptables -t filter -P INPUT ACCEPT +/usr/sbin/iptables -t filter -P OUTPUT ACCEPT +/usr/sbin/iptables -t filter -P FORWARD ACCEPT + % for (index, rule) in enumerate(rules): /usr/sbin/iptables -t filter \ -I ${rule.chain|s} ${index+1|s} \ -- 2.43.0