This commit is contained in:
iFargle 2023-12-06 19:14:37 +09:00
parent 9d13bb7197
commit 0d0003f1cf

View file

@ -56,12 +56,18 @@
{ {
name = "http"; name = "http";
server = "/usr/bin/env"; # Placeholder. server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 80"; extraConfig = ''
socket_type = raw
redirect = 10.100.0.2 80
'';
} }
{ {
name = "https"; name = "https";
server = "/usr/bin/env"; # Placeholder. server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 443"; extraConfig = ''
socket_type = raw
redirect = 10.100.0.2 443
'';
} }
{ {
name = "minecraft"; name = "minecraft";
@ -69,7 +75,10 @@
protocol = "tcp"; protocol = "tcp";
unlisted = true; unlisted = true;
server = "/usr/bin/env"; # Placeholder. server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 25565"; extraConfig = ''
socket_type = raw
redirect = 10.100.0.2 25565
'';
} }
{ {
name = "vintage-story"; name = "vintage-story";
@ -77,7 +86,10 @@
protocol = "tcp"; protocol = "tcp";
unlisted = true; unlisted = true;
server = "/usr/bin/env"; # Placeholder. server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 42420"; extraConfig = ''
socket_type = raw
redirect = 10.100.0.2 42420
'';
} }
################################################ mail ################################################ mail
@ -87,7 +99,10 @@
protocol = "tcp"; protocol = "tcp";
unlisted = true; unlisted = true;
server = "/usr/bin/env"; # Placeholder. server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 25"; extraConfig = ''
socket_type = raw
redirect = 10.100.0.2 25
'';
} }
{ {
name = "mail 465"; name = "mail 465";
@ -95,7 +110,10 @@
protocol = "tcp"; protocol = "tcp";
unlisted = true; unlisted = true;
server = "/usr/bin/env"; # Placeholder. server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 465"; extraConfig = ''
socket_type = raw
redirect = 10.100.0.2 465
'';
} }
{ {
name = "mail 587"; name = "mail 587";
@ -103,7 +121,10 @@
protocol = "tcp"; protocol = "tcp";
unlisted = true; unlisted = true;
server = "/usr/bin/env"; # Placeholder. server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 587"; extraConfig = ''
socket_type = raw
redirect = 10.100.0.2 587
'';
} }
{ {
name = "mail 143"; name = "mail 143";
@ -111,7 +132,10 @@
protocol = "tcp"; protocol = "tcp";
unlisted = true; unlisted = true;
server = "/usr/bin/env"; # Placeholder. server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 143"; extraConfig = ''
socket_type = raw
redirect = 10.100.0.2 143
'';
} }
{ {
name = "mail 993"; name = "mail 993";
@ -119,7 +143,10 @@
protocol = "tcp"; protocol = "tcp";
unlisted = true; unlisted = true;
server = "/usr/bin/env"; # Placeholder. server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 993"; extraConfig = ''
socket_type = raw
redirect = 10.100.0.2 993
'';
} }
{ {
name = "mail 4190"; name = "mail 4190";
@ -127,7 +154,10 @@
protocol = "tcp"; protocol = "tcp";
unlisted = true; unlisted = true;
server = "/usr/bin/env"; # Placeholder. server = "/usr/bin/env"; # Placeholder.
extraConfig = "redirect = 10.100.0.2 4190"; extraConfig = ''
socket_type = raw
redirect = 10.100.0.2 4190
'';
} }
################################################ /mail ################################################ /mail