Update xinetd

This commit is contained in:
iFargle 2023-12-03 10:26:04 +09:00
parent 1c28dfae41
commit 8ab452c271

View file

@ -16,6 +16,9 @@
25565 # Minecraft 25565 # Minecraft
1443 # Headscale DERP 1443 # Headscale DERP
4443 # jitsi-jvb 4443 # jitsi-jvb
5222 # Jitsi
5347 # Jitsi
5280 # Jitsi
]; ];
services.xinetd = { services.xinetd = {
@ -47,6 +50,30 @@
server = "/usr/bin/env"; # Placeholder. server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 4443"; extraConfig = "redirect = 10.100.0.2 4443";
} }
{
name = "jitsi-jvb 5222 tcp";
port = 5222;
protocol = "tcp";
unlisted = true;
server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 5222";
}
{
name = "jitsi-jvb 5347 tcp";
port = 5347;
protocol = "tcp";
unlisted = true;
server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 5347";
}
{
name = "jitsi-jvb 5280 tcp";
port = 5280;
protocol = "tcp";
unlisted = true;
server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 5280";
}
{ {
name = "minecraft"; name = "minecraft";
port = 25565; port = 25565;