{nixy,mediabox}/wireguard: add ip range for allowedIPs
This commit is contained in:
parent
494d0da9d0
commit
f9a8f9af1e
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user