grzegorz: allow all of ntnu

This commit is contained in:
Peder Bergebakken Sundt 2025-03-18 20:58:15 +01:00
parent 6e78a28bec
commit d3d705baeb

View File

@ -37,8 +37,12 @@ in {
"${machine}.pvv.org" "${machine}.pvv.org"
]; ];
extraConfig = '' extraConfig = ''
# pvv
allow ${values.ipv4-space} allow ${values.ipv4-space}
allow ${values.ipv6-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; deny all;
''; '';
}; };
@ -51,8 +55,12 @@ in {
"${machine}-backend.pvv.org" "${machine}-backend.pvv.org"
]; ];
extraConfig = '' extraConfig = ''
# pvv
allow ${values.ipv4-space} allow ${values.ipv4-space}
allow ${values.ipv6-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; deny all;
''; '';
@ -70,8 +78,12 @@ in {
"${machine}-old.pvv.org" "${machine}-old.pvv.org"
]; ];
extraConfig = '' extraConfig = ''
# pvv
allow ${values.ipv4-space} allow ${values.ipv4-space}
allow ${values.ipv6-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; deny all;
''; '';