bundlewrap/nodes/ovh.secondary.py
2025-08-10 19:57:32 +02:00

68 lines
1.8 KiB
Python

{
'hostname': '51.68.189.180',
'groups': [
'debian-13',
'dnsserver',
'monitored',
],
'bundles': [
'wireguard',
#'left4dead2',
],
'metadata': {
'id': 'd5080b1a-b310-48be-bd5a-02cfcecf0c90',
'network': {
'external': {
'interface': 'ens3',
'ipv4': '51.68.189.180/32',
'gateway4': '51.68.188.1',
'ipv6': '2001:41d0:701:1100::751a/128',
'gateway6': '2001:41d0:701:1100::1',
'cake': {
'Bandwidth': '350M',
'FlowIsolationMode': 'triple',
'PriorityQueueingPreset': 'besteffort',
'RTTSec': '100ms',
},
},
},
'bind': {
'master_node': 'htz.mails',
'hostname': 'secondary.resolver.name',
},
# 'postfix': {
# 'master_node': 'htz.mails',
# 'hostname': 'mail2.sublimity.de',
# },
'wireguard': {
'my_ip': '172.30.0.3/32',
's2s': {
'htz.mails': {
'allowed_ips': [
'10.0.0.0/24',
'10.0.2.0/24',
'10.0.9.0/24',
'10.0.10.0/24',
],
},
},
},
'nftables': {
'input': {
'tcp dport 27015 accept',
'udp dport { 27005, 27015, 27020 } accept',
},
},
'left4dead2': {
'pve': {
'server_one': {
'port': 27015,
},
'server_one': {
'port': 27015,
},
},
},
},
}