diff options
Diffstat (limited to 'hosts/cez/modules')
-rw-r--r-- | hosts/cez/modules/wireguard.nix | 5 |
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; }]; |