nix/nixos/hosts/framework-server/firewall.nix

24 lines
493 B
Nix
Raw Normal View History

2023-12-19 13:27:26 +01:00
{ 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
2024-01-10 12:49:43 +01:00
25 # Mailserver
143 # Mailserver
465 # Mailserver
587 # Mailserver
993 # Mailserver
4190 # Mailserver
2023-12-19 13:27:26 +01:00
];
}