mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-05-01 19:29:36 +00:00
Forgot to commit my stuff btw
This commit is contained in:
parent
45e09b810a
commit
6cdd7640cb
15 changed files with 343 additions and 248 deletions
22
.config/nixos/shared/server/firewall.nix
Normal file
22
.config/nixos/shared/server/firewall.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
networking.firewall.allowedTCPPortRanges = [
|
||||
{ from = 3000; to = 3999; }
|
||||
{ from = 8000; to = 8999; }
|
||||
];
|
||||
networking.firewall.allowedUDPPortRanges = [
|
||||
{ from = 3000; to = 3999; }
|
||||
{ from = 8000; to = 8999; }
|
||||
];
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
22
|
||||
80
|
||||
443
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [
|
||||
22
|
||||
80
|
||||
443
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue