2024-08-23 23:47:22 -07:00
|
|
|
let
|
2024-08-28 02:19:49 -07:00
|
|
|
universalAllowedPorts = [
|
|
|
|
27016 # grim dawn
|
|
|
|
42805 # grim dawn
|
|
|
|
5173 # vite test server
|
|
|
|
4173 # vite test server
|
|
|
|
];
|
2024-08-23 23:47:22 -07:00
|
|
|
universalAllowedRanges = [
|
|
|
|
{
|
|
|
|
from = 42852;
|
|
|
|
to = 42872;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
in {
|
2024-08-03 18:51:57 -07:00
|
|
|
services.openssh.enable = true;
|
2024-08-23 23:47:22 -07:00
|
|
|
networking.firewall = {
|
|
|
|
allowedTCPPorts = universalAllowedPorts;
|
|
|
|
allowedUDPPorts = universalAllowedPorts;
|
|
|
|
allowedUDPPortRanges = universalAllowedRanges;
|
|
|
|
allowedTCPPortRanges = universalAllowedRanges;
|
|
|
|
};
|
|
|
|
networking.firewall.enable = true;
|
2024-08-16 06:42:35 -07:00
|
|
|
networking.nameservers = ["1.1.1.1" "1.0.0.1"];
|
2024-08-03 18:51:57 -07:00
|
|
|
}
|