nodes/home.router: go live
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-13 23:57:12 +01:00
parent 00ba7e49d6
commit 6b4eae842b
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

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