2024-03-01 04:24:48 +01:00
|
|
|
{ ... }: {
|
2024-01-12 04:09:42 +01:00
|
|
|
networking = {
|
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [
|
2024-03-22 03:37:18 +01:00
|
|
|
53 # DNS
|
2024-01-12 04:09:42 +01:00
|
|
|
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-03-01 04:24:48 +01:00
|
|
|
5696 # dsm-kmip server
|
2024-03-22 03:37:18 +01:00
|
|
|
3389 # RDP
|
2024-01-12 04:09:42 +01:00
|
|
|
];
|
|
|
|
allowedUDPPorts = [
|
2024-03-22 03:37:18 +01:00
|
|
|
53 # DNS (udp)
|
2024-01-12 04:09:42 +01:00
|
|
|
3478 # Headscale DERP (udp)
|
|
|
|
10000 # Jitsi Meet (udp)
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2023-12-19 13:27:26 +01:00
|
|
|
}
|