initial upload
This commit is contained in:
8
roles/firewall/templates/rules-v4.d/24_influxdb.sh.j2
Normal file
8
roles/firewall/templates/rules-v4.d/24_influxdb.sh.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
# Allow InfluxDB Replication only from IPs:
|
||||
iptables -N influx-in
|
||||
{% for ip in firewall_influx_acl|default([]) + firewall_influx_acl_extra|default([]) %}
|
||||
iptables -A influx-in -s {{ ip }} -j ACCEPT
|
||||
{% endfor %}
|
||||
iptables -A INPUT -p tcp --dport 8086 -m comment --comment "influx" -j influx-in
|
||||
Reference in New Issue
Block a user