diff --git a/nixos/hosts/osaka-linode-01/xinetd.nix b/nixos/hosts/osaka-linode-01/xinetd.nix index 9333a82e..0e4f54db 100644 --- a/nixos/hosts/osaka-linode-01/xinetd.nix +++ b/nixos/hosts/osaka-linode-01/xinetd.nix @@ -56,12 +56,18 @@ { name = "http"; server = "/usr/bin/env"; # Placeholder. - extraConfig = "redirect = 10.100.0.2 80"; + extraConfig = '' + socket_type = raw + redirect = 10.100.0.2 80 + ''; } { name = "https"; server = "/usr/bin/env"; # Placeholder. - extraConfig = "redirect = 10.100.0.2 443"; + extraConfig = '' + socket_type = raw + redirect = 10.100.0.2 443 + ''; } { name = "minecraft"; @@ -69,7 +75,10 @@ protocol = "tcp"; unlisted = true; 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"; @@ -77,7 +86,10 @@ protocol = "tcp"; unlisted = true; server = "/usr/bin/env"; # Placeholder. - extraConfig = "redirect = 10.100.0.2 42420"; + extraConfig = '' + socket_type = raw + redirect = 10.100.0.2 42420 + ''; } ################################################ mail @@ -87,7 +99,10 @@ protocol = "tcp"; unlisted = true; 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"; @@ -95,7 +110,10 @@ protocol = "tcp"; unlisted = true; 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"; @@ -103,7 +121,10 @@ protocol = "tcp"; unlisted = true; 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"; @@ -111,7 +132,10 @@ protocol = "tcp"; unlisted = true; 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"; @@ -119,7 +143,10 @@ protocol = "tcp"; unlisted = true; 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"; @@ -127,7 +154,10 @@ protocol = "tcp"; unlisted = true; server = "/usr/bin/env"; # Placeholder. - extraConfig = "redirect = 10.100.0.2 4190"; + extraConfig = '' + socket_type = raw + redirect = 10.100.0.2 4190 + ''; } ################################################ /mail