This commit is contained in:
cronekorkn 2023-08-25 08:57:09 +02:00
parent 3fb27ec573
commit 54a45bdd62
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
2 changed files with 38 additions and 0 deletions

View file

@ -1,4 +1,5 @@
{
'dummy': True,
'hostname': '10.0.0.17',
'groups': [
'autologin',

View file

@ -7,6 +7,9 @@
'home',
'monitored',
],
'bundles': [
'wireguard',
],
'metadata': {
'id': '4eb7ba69-37fa-4594-8d54-3ebfc4e7e5d6',
'network': {
@ -16,5 +19,39 @@
'gateway4': '10.0.0.1',
},
},
'wireguard': {
'my_ip': '10.200.128.11/24',
},
'systemd': {
'units': {
"wireguard.network": {
"Route#smedia": {
"Destination": "10.200.128.1",
"Gateway": "10.200.128.11"
},
},
"wireguard.netdev": {
"NetDev": {
"Description": "WireGuard server",
"Kind": "wireguard",
"Name": "wg0"
},
"WireGuard": {
"ListenPort": 51820,
"PrivateKey": "AH1xHSDExh8Dx4E47kxQCxst7Fm+2GXiRwmMiXeVJU4="
},
"WireGuardPeer#rufbereitsschaftsalarm": {
"AllowedIPs": "0.0.0.0/0",
"Endpoint": "185.122.180.82:51820",
"PersistentKeepalive": 30,
"PresharedKey": "UzIL8Pir5DqtL9qOWC1E7ygT5PQ1CNsQcD38x/9hPeE=",
"PublicKey": "gPKjFV8mAx5GZdfPmjThNolpSaXs285e7YznhaBlOwY="
}
},
},
},
},
}
# priv AH1xHSDExh8Dx4E47kxQCxst7Fm+2GXiRwmMiXeVJU4=
# pub KZORFSTU5BaO1Bi+vZ1mfn7A1CDdWIsoYEAPlwuUUTE=
# psk UzIL8Pir5DqtL9qOWC1E7ygT5PQ1CNsQcD38x/9hPeE=