From 343665a6c57873102e86153b5c7670ac2f8a6266 Mon Sep 17 00:00:00 2001 From: cspark Date: Wed, 27 Mar 2024 15:02:21 +0000 Subject: [PATCH] Icinga2 from backend integration --- proxy_resources/etc/wireguard/wg0.conf | 6 ++++++ serversecrets.example | 2 ++ 2 files changed, 8 insertions(+) diff --git a/proxy_resources/etc/wireguard/wg0.conf b/proxy_resources/etc/wireguard/wg0.conf index 8f709ae..94d2a49 100755 --- a/proxy_resources/etc/wireguard/wg0.conf +++ b/proxy_resources/etc/wireguard/wg0.conf @@ -42,6 +42,12 @@ AllowedIPs = 10.0.0.3/32 #PublicKey = {{ minecraft_service_pubkey }} #AllowedIPs = 10.0.0.7/32 + +# Connection to backend server for icinga2 +[Peer] +PublicKey = {{ icinga2_backend_pubkey }} +AllowedIPs = 10.0.0.198/32 + # Connection to backend server for cockpit [Peer] PublicKey = {{ cockpit_backend_pubkey }} diff --git a/serversecrets.example b/serversecrets.example index e10df5c..4c62d3b 100755 --- a/serversecrets.example +++ b/serversecrets.example @@ -31,6 +31,7 @@ searxng_service_privkey: *** nextcloud_service_privkey: *** chat_service_privkey: *** minecraft_service_privkey: *** +icinga2_backend_privkey: *** cockpit_backend_privkey: *** user_privkey: *** @@ -42,6 +43,7 @@ searxng_service_pubkey: *** nextcloud_service_pubkey: *** chat_service_pubkey: *** minecraft_service_pubkey: *** +icinga2_backend_pubkey: *** cockpit_backend_pubkey: *** user_pubkey: ***