Add xinetd configs
This commit is contained in:
parent
497ec387da
commit
7b5188125f
1 changed files with 18 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue