Update xinetd
This commit is contained in:
parent
7997172232
commit
e8b253e458
1 changed files with 10 additions and 40 deletions
|
@ -56,18 +56,12 @@
|
||||||
{
|
{
|
||||||
name = "http";
|
name = "http";
|
||||||
server = "/usr/bin/env"; # Placeholder.
|
server = "/usr/bin/env"; # Placeholder.
|
||||||
extraConfig = ''
|
extraConfig = "redirect = 10.100.0.2 80";
|
||||||
socket_type = raw
|
|
||||||
redirect = 10.100.0.2 80
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "https";
|
name = "https";
|
||||||
server = "/usr/bin/env"; # Placeholder.
|
server = "/usr/bin/env"; # Placeholder.
|
||||||
extraConfig = ''
|
extraConfig = "redirect = 10.100.0.2 443";
|
||||||
socket_type = raw
|
|
||||||
redirect = 10.100.0.2 443
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "minecraft";
|
name = "minecraft";
|
||||||
|
@ -75,10 +69,7 @@
|
||||||
protocol = "tcp";
|
protocol = "tcp";
|
||||||
unlisted = true;
|
unlisted = true;
|
||||||
server = "/usr/bin/env"; # Placeholder.
|
server = "/usr/bin/env"; # Placeholder.
|
||||||
extraConfig = ''
|
extraConfig = "redirect = 10.100.0.2 25565";
|
||||||
socket_type = raw
|
|
||||||
redirect = 10.100.0.2 25565
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "vintage-story";
|
name = "vintage-story";
|
||||||
|
@ -86,10 +77,7 @@
|
||||||
protocol = "tcp";
|
protocol = "tcp";
|
||||||
unlisted = true;
|
unlisted = true;
|
||||||
server = "/usr/bin/env"; # Placeholder.
|
server = "/usr/bin/env"; # Placeholder.
|
||||||
extraConfig = ''
|
extraConfig = "redirect = 10.100.0.2 42420";
|
||||||
socket_type = raw
|
|
||||||
redirect = 10.100.0.2 42420
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
################################################ mail
|
################################################ mail
|
||||||
|
@ -99,10 +87,7 @@
|
||||||
protocol = "tcp";
|
protocol = "tcp";
|
||||||
unlisted = true;
|
unlisted = true;
|
||||||
server = "/usr/bin/env"; # Placeholder.
|
server = "/usr/bin/env"; # Placeholder.
|
||||||
extraConfig = ''
|
extraConfig = "redirect = 10.100.0.2 25";
|
||||||
socket_type = raw
|
|
||||||
redirect = 10.100.0.2 25
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "mail 465";
|
name = "mail 465";
|
||||||
|
@ -110,10 +95,7 @@
|
||||||
protocol = "tcp";
|
protocol = "tcp";
|
||||||
unlisted = true;
|
unlisted = true;
|
||||||
server = "/usr/bin/env"; # Placeholder.
|
server = "/usr/bin/env"; # Placeholder.
|
||||||
extraConfig = ''
|
extraConfig = "redirect = 10.100.0.2 465";
|
||||||
socket_type = raw
|
|
||||||
redirect = 10.100.0.2 465
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "mail 587";
|
name = "mail 587";
|
||||||
|
@ -121,10 +103,7 @@
|
||||||
protocol = "tcp";
|
protocol = "tcp";
|
||||||
unlisted = true;
|
unlisted = true;
|
||||||
server = "/usr/bin/env"; # Placeholder.
|
server = "/usr/bin/env"; # Placeholder.
|
||||||
extraConfig = ''
|
extraConfig = "redirect = 10.100.0.2 587";
|
||||||
socket_type = raw
|
|
||||||
redirect = 10.100.0.2 587
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "mail 143";
|
name = "mail 143";
|
||||||
|
@ -132,10 +111,7 @@
|
||||||
protocol = "tcp";
|
protocol = "tcp";
|
||||||
unlisted = true;
|
unlisted = true;
|
||||||
server = "/usr/bin/env"; # Placeholder.
|
server = "/usr/bin/env"; # Placeholder.
|
||||||
extraConfig = ''
|
extraConfig = "redirect = 10.100.0.2 143";
|
||||||
socket_type = raw
|
|
||||||
redirect = 10.100.0.2 143
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "mail 993";
|
name = "mail 993";
|
||||||
|
@ -143,10 +119,7 @@
|
||||||
protocol = "tcp";
|
protocol = "tcp";
|
||||||
unlisted = true;
|
unlisted = true;
|
||||||
server = "/usr/bin/env"; # Placeholder.
|
server = "/usr/bin/env"; # Placeholder.
|
||||||
extraConfig = ''
|
extraConfig = "redirect = 10.100.0.2 993";
|
||||||
socket_type = raw
|
|
||||||
redirect = 10.100.0.2 993
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "mail 4190";
|
name = "mail 4190";
|
||||||
|
@ -154,10 +127,7 @@
|
||||||
protocol = "tcp";
|
protocol = "tcp";
|
||||||
unlisted = true;
|
unlisted = true;
|
||||||
server = "/usr/bin/env"; # Placeholder.
|
server = "/usr/bin/env"; # Placeholder.
|
||||||
extraConfig = ''
|
extraConfig = "redirect = 10.100.0.2 4190";
|
||||||
socket_type = raw
|
|
||||||
redirect = 10.100.0.2 4190
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
################################################ /mail
|
################################################ /mail
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue