Commit 827f707c authored by Daniel STAN's avatar Daniel STAN

[firewall] forward de syslog et https pour bornes

https servira pour l'acs.
parent b04a9e64
......@@ -873,6 +873,9 @@ class firewall_komaz(firewall_base_routeur):
if config.firewall.ports_default[proto]['input']:
self.add(table, chain, '-p %s -d %s -m multiport --dports %s -j RETURN' % (proto, net, ','.join( format_port(port) for port in config.firewall.ports_default[proto]['input'])))
# TODO faire un truc plus propre (config.py ?) -- b2moo
# syslog et https
self.add(table, chain, '-p udp -s 138.231.148.0/24 -m multiport --dports 443,514 -j RETURN')
for machine in self.machines():
for ip in machine['ipHostNumber']:
if 'portTCPout' in machine.attrs.keys():
......
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