2023-12-19 13:27:26 +01:00
|
|
|
{ config, lib, pkgs, ... }: {
|
2024-01-12 04:09:42 +01:00
|
|
|
networking = {
|
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [
|
|
|
|
80 # HTTP
|
|
|
|
443 # HTTPS
|
|
|
|
42420 # Vintage Story
|
|
|
|
25565 # Minecraft
|
|
|
|
1443 # Headscale DERP (tcp)
|
|
|
|
25 # Mailserver
|
|
|
|
143 # Mailserver
|
|
|
|
465 # Mailserver
|
|
|
|
587 # Mailserver
|
|
|
|
993 # Mailserver
|
|
|
|
4190 # Mailserver
|
2024-01-14 05:12:56 +01:00
|
|
|
4443 # Jitsi
|
2024-01-12 04:09:42 +01:00
|
|
|
];
|
|
|
|
allowedUDPPorts = [
|
|
|
|
3478 # Headscale DERP (udp)
|
|
|
|
10000 # Jitsi Meet (udp)
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2023-12-19 13:27:26 +01:00
|
|
|
}
|