[ipv6only] Modifications pour pettre des machines sans ipv4 et pare feu pour nat64
This commit is contained in:
parent
d04d51a2c3
commit
a2369dadf4
9 changed files with 67 additions and 21 deletions
|
@ -480,6 +480,7 @@ class firewall_komaz(firewall_base_routeur):
|
|||
'filtrage_ports' : self.filtrage_ports,
|
||||
'limitation_debit' : self.limitation_debit,
|
||||
'limit_ssh_connexion' : self.limit_ssh_connexion,
|
||||
'tunnel_6in4' : self.tunnel_6in4,
|
||||
})
|
||||
|
||||
self.use_ipset.extend([self.blacklist_soft, self.blacklist_upload, self.reseaux_non_routable])
|
||||
|
@ -569,7 +570,7 @@ class firewall_komaz(firewall_base_routeur):
|
|||
def tunnel_6in4(self, table=None, apply=False):
|
||||
chain = 'TUNNEL_IPV6'
|
||||
|
||||
tunnels_ipv6 = [ ('216.66.84.42', '138.231.136.12') ]
|
||||
tunnels_ipv6 = [ ('216.66.84.42', '138.231.136.12'), ('216.66.84.42','138.231.136.164') ]
|
||||
|
||||
if table == 'filter':
|
||||
pretty_print(table, chain)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue