Commit d83034f7 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

[komaz.py] On compense l'incompétence des constructeurs de TPE

 * 192.168.1.1 pointe vers charybde pour terminal.crans.org
parent 8f592156
......@@ -129,9 +129,11 @@ class firewall(base.firewall_routeur):
self.add(table, chain, '-j %s' % self.ssh_on_https(table))
self.add(table, chain, '-j %s' % self.connexion_secours(table))
self.add(table, chain, '-j %s' % self.blacklist_soft(table))
self.add(table, chain, '-s terminal.crans.org -d 192.168.1.1 -j DNAT --to-destination 138.231.136.98')
chain = 'POSTROUTING'
self.add(table, chain, '-j %s' % self.connexion_appartement(table))
self.add(table, chain, '-s terminal.crans.org -d 138.231.136.98 -j MASQUERADE')
return
def tunnel_6in4(self, table=None, apply=False):
......
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