Les clients hotspots peuvent aller sur sila

darcs-hash:20051109114927-d1718-a439e27bfcf65ebf5c4210ef3bd99f7cbbc03524.gz
This commit is contained in:
bernat 2005-11-09 12:49:27 +01:00
parent bda07d81b6
commit ab89c2c710

View file

@ -843,6 +843,7 @@ class firewall_rouge(firewall_crans) :
self.anim = anim(' regles specifiques a rouge') self.anim = anim(' regles specifiques a rouge')
iptables("-P INPUT ACCEPT") iptables("-P INPUT ACCEPT")
iptables("-P FORWARD DROP") iptables("-P FORWARD DROP")
iptables("-t nat -I PREROUTING 3 -s 10.231.149.0/24 -m mac --mac-source %s -j ACCEPT" % self.mac_wifi)
print OK print OK