diff --git a/bundles/linux/items.py b/bundles/linux/items.py index d3c5b96..bd51616 100644 --- a/bundles/linux/items.py +++ b/bundles/linux/items.py @@ -12,9 +12,8 @@ def generate_sysctl_key_value_pairs_from_json(json_data, parents=[]): key_value_pairs = generate_sysctl_key_value_pairs_from_json(node.metadata.get('sysctl')) - files= { - '/etc/sysctl.conf': { + '/etc/sysctl.d/managed.conf': { 'content': '\n'.join( sorted( f"{'.'.join(path)}={value}" diff --git a/nodes/home.router.py b/nodes/home.router.py index 7a4d53e..7aa2ed0 100644 --- a/nodes/home.router.py +++ b/nodes/home.router.py @@ -70,9 +70,21 @@ 'net': { 'ipv4': { 'ip_forward': 1, + 'conf': { + 'default': { + 'forwarding': 1, + }, + }, }, 'ipv6': { - 'ip_forward': 1, + 'conf': { + 'all': { + 'forwarding': 1, + }, + 'default': { + 'forwarding': 1, + }, + }, }, }, },