From d3d705baebbb0cc552bc464fd08eedb9dca8a668 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 18 Mar 2025 20:58:15 +0100 Subject: [PATCH] grzegorz: allow all of ntnu --- modules/grzegorz.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/grzegorz.nix b/modules/grzegorz.nix index 3b10aee..d72399a 100644 --- a/modules/grzegorz.nix +++ b/modules/grzegorz.nix @@ -37,8 +37,12 @@ in { "${machine}.pvv.org" ]; extraConfig = '' + # pvv allow ${values.ipv4-space} allow ${values.ipv6-space} + # ntnu + allow 129.241.0.0/16 # https://ipinfo.io/ips/129.241.0.0/16 + allow 2001:700:300::/48; # https://ipinfo.io/2001:700:300:: deny all; ''; }; @@ -51,8 +55,12 @@ in { "${machine}-backend.pvv.org" ]; extraConfig = '' + # pvv allow ${values.ipv4-space} allow ${values.ipv6-space} + # ntnu + allow 129.241.0.0/16 # https://ipinfo.io/ips/129.241.0.0/16 + allow 2001:700:300::/48; # https://ipinfo.io/2001:700:300:: deny all; ''; @@ -70,8 +78,12 @@ in { "${machine}-old.pvv.org" ]; extraConfig = '' + # pvv allow ${values.ipv4-space} allow ${values.ipv6-space} + # ntnu + allow 129.241.0.0/16 # https://ipinfo.io/ips/129.241.0.0/16 + allow 2001:700:300::/48; # https://ipinfo.io/2001:700:300:: deny all; '';