Commit bed288cd authored by Gabriel Detraz's avatar Gabriel Detraz

Ipv6 sur le vlan federez

parent b64b7b42
......@@ -126,6 +126,7 @@ def main_router():
dev_crans = iface6('fil')
dev_wifi = iface6('wifi')
dev_ip6 = iface6('he-ipv6')
dev_federez = iface6('federez')
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)
......@@ -182,7 +183,7 @@ def main_router():
ip6tables.filter.forward('-m rt --rt-type 0 -j REJECT')
# Ouverture des ports
ports(dev_ip6, [dev_crans, dev_wifi])
ports(dev_ip6, [dev_crans, dev_wifi, dev_federez])
# On met en place le forwarding
enable_forwarding(6)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment