[./gestion/gen_confs/firewall.py] Cosmétique

darcs-hash:20090630231743-8fbb1-817e4c5747ca3af6a6db68606ee57d748f5768c1.gz
This commit is contained in:
Olivier Huber 2009-07-01 01:17:43 +02:00
parent 3e52ca8381
commit 5a6c8b91a7

View file

@ -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)