[firewall] Apuovh
This commit is contained in:
parent
55a535f9c2
commit
f72303031f
1 changed files with 0 additions and 5 deletions
|
@ -170,11 +170,6 @@ class firewall(utils.firewall_tools) :
|
|||
for key in self.ipset['mac_ip'].keys():
|
||||
self.add(table, chain, '-m set --match-set %s src,src -j RETURN' % self.ipset['mac_ip'][key])
|
||||
|
||||
# Proxy ARP de Komaz et Titanic pour OVH
|
||||
ip_ovh = self.conn.search(u"host=ovh.adm.crans.org")[0]['ipHostNumber'][0]
|
||||
self.add(table, chain, '-m mac -s %s --mac-source %s -j RETURN' % (ip_ovh, config.mac_komaz))
|
||||
self.add(table, chain, '-m mac -s %s --mac-source %s -j RETURN' % (ip_ovh, config.mac_titanic))
|
||||
|
||||
# Proxy ARP de Komaz et Titanic pour OVH
|
||||
ip_soyouz = self.conn.search(u"host=soyouz.adm.crans.org")[0]['ipHostNumber'][0]
|
||||
self.add(table, chain, '-m mac -s %s --mac-source %s -j RETURN' % (ip_soyouz, config.mac_komaz))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue