diff --git a/gestion/gen_confs/firewall4/komaz.py b/gestion/gen_confs/firewall4/komaz.py index a6cdaa28..22b68a99 100644 --- a/gestion/gen_confs/firewall4/komaz.py +++ b/gestion/gen_confs/firewall4/komaz.py @@ -248,6 +248,7 @@ class firewall(base.firewall_routeur): if table == 'nat': pretty_print(table, chain) self.add(table, chain, '-p tcp -d 138.231.136.2 --dport 22 -j DNAT --to-destination 138.231.136.1:22') # redirection du ssh vers zamok + self.add(table, chain, '-p tcp -d 138.231.136.2 --dport 80 -j DNAT --to-destination 138.231.136.1:81') # redirection du ssh vers zamok a travers httptunnel self.add(table, chain, '-p tcp -d 138.231.136.2 --dport 443 -j DNAT --to-destination 138.231.136.1:22') # redirection du ssh vers zamok (pour passer dans un proxy, avec corkscrew) print OK diff --git a/utils/list_droits.py b/surveillance/list_things/list_droits.py similarity index 100% rename from utils/list_droits.py rename to surveillance/list_things/list_droits.py diff --git a/utils/list_exempt.py b/surveillance/list_things/list_exempt.py similarity index 100% rename from utils/list_exempt.py rename to surveillance/list_things/list_exempt.py diff --git a/utils/list_firewall.py b/surveillance/list_things/list_firewall.py similarity index 100% rename from utils/list_firewall.py rename to surveillance/list_things/list_firewall.py