diff --git a/gestion/gen_confs/firewall.py b/gestion/gen_confs/firewall.py index eb49b457..a517d898 100755 --- a/gestion/gen_confs/firewall.py +++ b/gestion/gen_confs/firewall.py @@ -1151,23 +1151,6 @@ class firewall_vert(firewall_crans) : iptables("-P FORWARD DROP") print OK -class firewall_sila(firewall_rouge): - """Comme pour rouge, avec le proxy transparent en plus""" - - def mangle_table(self): - # Pour le proxy transparent - iptables("-t mangle -F PREROUTING") - iptables("-t mangle -i crans.2 -A PREROUTING -p tcp --destination-port 3128 " + - "--destination 10.231.136.10 " + - "-m mac --mac-source %s " % mac_komaz + - "-j MARK --set-mark %s" % conf_fw.mark['proxy']) - iptables("-t mangle -A PREROUTING -m mark --mark %s -j ACCEPT" % conf_fw.mark['proxy']) - - def nat_table(self): - firewall_rouge.nat_table(self) - # Pour le proxy transparent - iptables("-t nat -I PREROUTING -i crans.2 -m mark --mark %s -j ACCEPT" % conf_fw.mark['proxy']) - class firewall_sable(firewall_rouge): """Comme pour rouge, avec le proxy transparent en plus"""