diff --git a/gestion/gen_confs/firewall.py b/gestion/gen_confs/firewall.py index 4a872e49..b5b7fc87 100755 --- a/gestion/gen_confs/firewall.py +++ b/gestion/gen_confs/firewall.py @@ -468,7 +468,7 @@ class firewall_komaz(firewall_crans) : # Proxy transparent iptables("-t mangle -F PREROUTING") - iptables("-t mangle -A PREROUTING -s 138.231.136.10 -j RETURN") # Pas pour sila + iptables("-t mangle -A PREROUTING -s %s -j RETURN" % self.zone_serveur) iptables("-t mangle -A PREROUTING -p tcp --destination-port 80 " + "-s 138.231.136.0/21 -d \! 138.231.148.0/22 -j MARK --set-mark 2") iptables("-t nat -A PREROUTING -p tcp -m mark --mark 2 -j DNAT " +