bundles/netdata: fix iptables default

This commit is contained in:
Franzi 2021-04-04 10:30:45 +02:00
parent 513eb4bed6
commit c418102000
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 6 additions and 1 deletions

View file

@ -25,7 +25,7 @@ def iptables(metadata):
return {
'iptables': {
'port_rules': {
'19999': atomic(metadata.get('netdata/restrict-to', set('*'))),
'19999': atomic(metadata.get('netdata/restrict-to', set())),
},
},
}

View file

@ -103,6 +103,11 @@ nodes['home.nas'] = {
'172.19.138.0/24',
},
},
'netdata': {
'restrict-to': {
'172.19.136.0/22',
},
},
'nfs-server': {
'shares': {
'/storage/nas': {