diff --git a/nodes/home/router.py b/nodes/home/router.py index 12a6f45..1df1b55 100644 --- a/nodes/home/router.py +++ b/nodes/home/router.py @@ -1,5 +1,7 @@ +from bundlewrap.metadata import atomic + nodes['home.router'] = { - 'hostname': '172.19.138.10', + 'hostname': '172.19.138.1', 'bundles': { 'iptables', 'pppd', @@ -10,14 +12,13 @@ nodes['home.router'] = { 'interfaces': { 'enp1s0.23': { 'ips': { - '172.19.139.10/24', + '172.19.139.1/24', }, }, 'enp1s0.42': { 'ips': { - '172.19.138.10/24', + '172.19.138.1/24', }, - 'gateway4': '172.19.138.1', }, 'enp1s0.100': { 'ignore': True, @@ -41,6 +42,9 @@ nodes['home.router'] = { 'iptables_both -A FORWARD -i enp1s0.42 -j ACCEPT', ], }, + 'nameservers': atomic({ + '9.9.9.10', + }), 'pppd': { 'username': vault.decrypt('encrypt$gAAAAABfruZ5AZbgJ3mfMLWqIMx8o4bBRMJsDPD1jElh-vWN_gnhiuZVjrQ1-7Y6zDXNkxXiyhx8rxc2enmvo26axd7EBI8FqknCptXAPruVtDZrBCis4TE='), 'password': vault.decrypt('encrypt$gAAAAABfruaXEDkaFksFMU8g97ydWyJF8p2KcSDJJBlzaOLDsLL6oCDYjG1kMPVESOzqjn8ThtSht1uZDuMCstA-sATmLS-EWQ=='),