mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-04-03 12:51:23 +02:00
grzegorz: allow all of ntnu
This commit is contained in:
parent
6e78a28bec
commit
d3d705baeb
@ -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;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user