diff --git a/gestion/config/config_srv.py b/gestion/config/config_srv.py index ba560fc9..d5e5232d 100644 --- a/gestion/config/config_srv.py +++ b/gestion/config/config_srv.py @@ -1,8 +1,18 @@ # -*- python -*- # -*- coding: utf-8 -*- -# Généré par gestion/extractionbcfg2.py sur bcfg2, à partir de Metadata/groups.xml +# Fichier anciennement généré par bcfg2, déprécié. Utiliser services.py adm_only = [] -role = {'zamok': ['adherents-server'], 'nat64': ['routeur-nat64'], 'komaz': ['wifi-router', 'appt-proxy', 'main-router'], 'dyson': ['sniffer'], 'isc': ['appt-proxy'], 'dhcp': ['appt-proxy'], 'ovh': ['externe'], 'soyouz': ['externe'], 'routeur': ['appt-proxy']} +role = { + 'zamok': ['adherents-server'], + 'nat64': ['routeur-nat64'], + 'odlyd': ['wifi-router', 'appt-proxy', 'main-router'], + 'dyson': ['sniffer'], + 'isc': ['appt-proxy'], + 'dhcp': ['appt-proxy'], + 'ovh': ['externe'], + 'soyouz': ['externe'], + 'routeur': ['appt-proxy'] +} diff --git a/gestion/gen_confs/firewall6.py b/gestion/gen_confs/firewall6.py index c1e0aa8b..ac8dcdda 100755 --- a/gestion/gen_confs/firewall6.py +++ b/gestion/gen_confs/firewall6.py @@ -139,7 +139,7 @@ def main_router(): dev_crans = iface6('fil') dev_wifi = iface6('wifi') - dev_ip6 = iface6('sixxs') + dev_ip6 = iface6('sixxs2') ip6tables.mangle.forward("-o %s -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu" % dev_ip6) ip6tables.mangle.forward("-o %s -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu" % dev_wifi)