fix firewall6 sur odlyd
This commit is contained in:
parent
dfa439467d
commit
e6bd4e9323
2 changed files with 13 additions and 3 deletions
|
@ -1,8 +1,18 @@
|
||||||
# -*- python -*-
|
# -*- python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- 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 = []
|
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']
|
||||||
|
}
|
||||||
|
|
|
@ -139,7 +139,7 @@ def main_router():
|
||||||
|
|
||||||
dev_crans = iface6('fil')
|
dev_crans = iface6('fil')
|
||||||
dev_wifi = iface6('wifi')
|
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_ip6)
|
||||||
ip6tables.mangle.forward("-o %s -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu" % dev_wifi)
|
ip6tables.mangle.forward("-o %s -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu" % dev_wifi)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue