From f9a8f9af1e89d343e65201d674860b7d1c35c9c4 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Sun, 14 Apr 2024 22:23:08 +0200 Subject: [PATCH] {nixy,mediabox}/wireguard: add ip range for allowedIPs --- mediabox/configuration.nix | 2 +- nixy/configuration.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mediabox/configuration.nix b/mediabox/configuration.nix index 9071533..aef7787 100644 --- a/mediabox/configuration.nix +++ b/mediabox/configuration.nix @@ -101,7 +101,7 @@ peers = [ { publicKey = builtins.readFile ../magpie/wg_pubkey; - allowedIPs = ["10.100.0.1"]; + allowedIPs = ["10.100.0.0/24"]; endpoint = "5.75.229.224:51820"; persistentKeepalive = 25; } diff --git a/nixy/configuration.nix b/nixy/configuration.nix index 0adb2d9..fcead02 100644 --- a/nixy/configuration.nix +++ b/nixy/configuration.nix @@ -129,7 +129,7 @@ peers = [ { publicKey = builtins.readFile ../magpie/wg_pubkey; - allowedIPs = ["10.100.0.1"]; + allowedIPs = ["10.100.0.0/24"]; endpoint = "5.75.229.224:51820"; persistentKeepalive = 25; }