summaryrefslogtreecommitdiff
path: root/hosts/cez/modules
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/cez/modules')
-rw-r--r--hosts/cez/modules/wireguard.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/hosts/cez/modules/wireguard.nix b/hosts/cez/modules/wireguard.nix
index 07ea90c..857520f 100644
--- a/hosts/cez/modules/wireguard.nix
+++ b/hosts/cez/modules/wireguard.nix
@@ -14,7 +14,10 @@ in
peers = [{
publicKey = "wJMyQDXmZO4MjYRk6NK4+J6ZKWLTTZygAH+OwbPjOiw=";
- allowedIPs = [ "0.0.0.0/0" ];
+ allowedIPs = [
+ "10.0.1.0/24"
+ "104.16.0.0/12"
+ ];
endpoint = "${domain}:51820";
persistentKeepalive = 25;
}];