Pas de multicast (on avait le sap)
darcs-hash:20041212144811-41617-ee7f6b98f440e76c981c01f7dda75f1380e3bf62.gz
This commit is contained in:
parent
1c3e128c9e
commit
1c72577851
1 changed files with 2 additions and 1 deletions
|
@ -156,7 +156,7 @@ class firewall_komaz :
|
||||||
|
|
||||||
def restart(self):
|
def restart(self):
|
||||||
""" Rédémarrage du firewall """
|
""" Rédémarrage du firewall """
|
||||||
cprint('Redémarrage firewall' % esthetisme,'gras')
|
cprint('Redémarrage firewall','gras')
|
||||||
self.__exception_catcher(self.__stop)
|
self.__exception_catcher(self.__stop)
|
||||||
self.start(False)
|
self.start(False)
|
||||||
|
|
||||||
|
@ -204,6 +204,7 @@ class firewall_komaz :
|
||||||
|
|
||||||
iptables("-t nat -P PREROUTING ACCEPT")
|
iptables("-t nat -P PREROUTING ACCEPT")
|
||||||
iptables("-t nat -A PREROUTING -i lo -j ACCEPT")
|
iptables("-t nat -A PREROUTING -i lo -j ACCEPT")
|
||||||
|
iptables("-t nat -A PREROUTING -d 224.0.0.0/4 -j DROP")
|
||||||
iptables("-t nat -A PREROUTING -s ! %s -j TEST_VIRUS_FLOOD" % self.zone_serveur)
|
iptables("-t nat -A PREROUTING -s ! %s -j TEST_VIRUS_FLOOD" % self.zone_serveur)
|
||||||
iptables("-t nat -A PREROUTING -j RESEAUX_NON_ROUTABLES_DST")
|
iptables("-t nat -A PREROUTING -j RESEAUX_NON_ROUTABLES_DST")
|
||||||
iptables("-t nat -A PREROUTING -i %s -j RESEAUX_NON_ROUTABLES_SRC" % self.eth_ext )
|
iptables("-t nat -A PREROUTING -i %s -j RESEAUX_NON_ROUTABLES_SRC" % self.eth_ext )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue