{nixy,mediabox}/wireguard: add ip range for allowedIPs

This commit is contained in:
Asmir A 2024-04-14 22:23:08 +02:00
parent 494d0da9d0
commit f9a8f9af1e
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@
peers = [ peers = [
{ {
publicKey = builtins.readFile ../magpie/wg_pubkey; publicKey = builtins.readFile ../magpie/wg_pubkey;
allowedIPs = ["10.100.0.1"]; allowedIPs = ["10.100.0.0/24"];
endpoint = "5.75.229.224:51820"; endpoint = "5.75.229.224:51820";
persistentKeepalive = 25; persistentKeepalive = 25;
} }

View File

@ -129,7 +129,7 @@
peers = [ peers = [
{ {
publicKey = builtins.readFile ../magpie/wg_pubkey; publicKey = builtins.readFile ../magpie/wg_pubkey;
allowedIPs = ["10.100.0.1"]; allowedIPs = ["10.100.0.0/24"];
endpoint = "5.75.229.224:51820"; endpoint = "5.75.229.224:51820";
persistentKeepalive = 25; persistentKeepalive = 25;
} }