From 5a6c8b91a706ceca18ad38847c75218efd8d4698 Mon Sep 17 00:00:00 2001 From: Olivier Huber Date: Wed, 1 Jul 2009 01:17:43 +0200 Subject: [PATCH] =?UTF-8?q?[./gestion/gen=5Fconfs/firewall.py]=20Cosm?= =?UTF-8?q?=C3=A9tique?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20090630231743-8fbb1-817e4c5747ca3af6a6db68606ee57d748f5768c1.gz --- gestion/gen_confs/firewall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/gen_confs/firewall.py b/gestion/gen_confs/firewall.py index f03c1d75..0bd4a259 100644 --- a/gestion/gen_confs/firewall.py +++ b/gestion/gen_confs/firewall.py @@ -1211,8 +1211,8 @@ class firewall_sable(firewall_rouge): if_radin = "eth0.%d" % vlans["radin"] # forward pour le https pour le vlan radin - iptables("-t filter -A FORWARD -i %s -p tcp -m tcp --dport 443 -j ACCEPT" % if_radin) - iptables("-t filter -A FORWARD -o %s -p tcp -m tcp --sport 443 -j ACCEPT" % if_radin) + iptables("-t filter -A FORWARD -i %s -p tcp -m tcp --dport https -j ACCEPT" % if_radin) + iptables("-t filter -A FORWARD -o %s -p tcp -m tcp --sport https -j ACCEPT" % if_radin) def nat_table(self): firewall_rouge.nat_table(self)