This commit is contained in:
parent
1fca88fbbe
commit
40e9ef0d32
2 changed files with 18 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
./builder.nix
|
||||
./wireguard.nix
|
||||
./cron.nix
|
||||
./firewall.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = [
|
||||
|
|
17
nixos/hosts/framework-server/firewall.nix
Normal file
17
nixos/hosts/framework-server/firewall.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
networking.firewall.allowedUDPPorts = [
|
||||
3478 # Headscale DERP UDP
|
||||
10000 # Jitsi
|
||||
];
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80 # HTTP
|
||||
443 # HTTPS
|
||||
42420 # Vintage Story
|
||||
25565 # Minecraft
|
||||
1443 # Headscale DERP
|
||||
4443 # jitsi-jvb
|
||||
5222 # Jitsi
|
||||
5347 # Jitsi
|
||||
5280 # Jitsi
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue