diff --git a/bundles/netdata/metadata.py b/bundles/netdata/metadata.py index d51d2ff..9dea2b4 100644 --- a/bundles/netdata/metadata.py +++ b/bundles/netdata/metadata.py @@ -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())), }, }, } diff --git a/nodes/home/nas.py b/nodes/home/nas.py index 9935504..5297164 100644 --- a/nodes/home/nas.py +++ b/nodes/home/nas.py @@ -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': {