bundlewrap/nodes/htz-cloud/wireguard.py

61 lines
1.5 KiB
Python
Raw Normal View History

nodes['htz-cloud.wireguard'] = {
'hostname': '162.55.54.226',
'bundles': {
2021-09-29 17:47:14 +00:00
'bird',
'wireguard',
},
'groups': {
'debian-buster',
},
'metadata': {
'interfaces': {
'eth0': {
'ips': {
'162.55.54.226',
'2a01:4f8:1c1c:884d::1/64'
},
'gateway4': '172.31.1.1',
'gateway6': 'fe80::1'
},
'ens10': {
'ips': {
'172.19.137.2/32',
},
'routes': {
'172.19.137.0/24': {
'via': '172.19.137.1',
},
},
},
},
'backups': {
'exclude_from_backups': True,
},
2021-09-29 17:47:14 +00:00
'bird': {
'static_routes': {
'172.19.137.0/24',
},
},
2023-09-09 20:46:09 +00:00
'nftables': {
'rules': {
'50-router': [
'inet filter forward ct state { related, established } accept',
'inet filter forward oif eth0 accept',
'nat postrouting oif eth0 masquerade',
],
},
},
'vm': {
'cpu': 1,
'ram': 2,
},
'wireguard': {
2023-09-10 19:19:23 +00:00
'snat_ip': '172.19.137.2',
'peers': {
2023-09-10 19:19:23 +00:00
'ovh.wireguard': {},
'icinga2': {},
},
},
},
}