Add xinetd configs

This commit is contained in:
iFargle 2023-12-02 22:43:53 +09:00
parent 497ec387da
commit 7b5188125f

View file

@ -1,9 +1,22 @@
{ config, lib, pkgs, ... }: {
networking.firewall.allowedTCPPorts = [
80
443
8080
];
networking.firewall.allowedUDPPorts = [
3478 # Headscale DERP UDP
10000 # Jitsi
];
networking.firewall.allowedTCPPorts = [
80 # HTTP
443 # HTTPS
25 # SMTP (explicit TLS => STARTTLS)
465 # ESMTP (implicit TLS)
587 # ESMTP (explicit TLS => STARTTLS)
143 # IMAP4 (explicit TLS => STARTTLS)
993 # IMAP4 (implicit TLS)
4190 # Sieve support
42420 # Vintage Story
25565 # Minecraft
1443 # Headscale DERP
4443 # jitsi-jvb
];
services.xinetd = {
enable = true;