diff --git a/hosts/remilia/networking.nix b/hosts/remilia/networking.nix index 0279858..9ceabcf 100644 --- a/hosts/remilia/networking.nix +++ b/hosts/remilia/networking.nix @@ -32,6 +32,10 @@ externalInterface = "ens3"; internalInterfaces = [ "wg0" ]; forwardPorts = [ + { + destination = "${marisa}:22001"; + sourcePort = 22001; + } { destination = "${satori}:6600"; sourcePort = 6600; diff --git a/hosts/remilia/services.nix b/hosts/remilia/services.nix index a036daf..73240b5 100644 --- a/hosts/remilia/services.nix +++ b/hosts/remilia/services.nix @@ -8,7 +8,7 @@ in openssh = { enable = true; permitRootLogin = "yes"; - ports = [ 22001 22002 ]; + ports = [ 22 22002 ]; }; znc = { enable = true; @@ -52,10 +52,10 @@ in }; serverAliases = [ "www.${domain}" ]; }; - "znc.weirdnatto.in" = genericHttpRProxy { addr = "https://${marisa}:9898"; }; + "znc.weirdnatto.in" = genericHttpRProxy { addr = "https://${remilia}:9898"; }; # "vault.${domain}" = genericHttpRProxy { addr = "https://${marisa}:8800"; }; # "consul.${domain}" = genericHttpRProxy { addr = "http://${marisa}:8500"; }; - "f.${domain}" = genericHttpRProxy { addr = "http://${marisa}:8888"; }; + "f.${domain}" = genericHttpRProxy { addr = "http://${marisa}:8000"; }; "radio.${domain}" = genericHttpRProxy { addr = "http://${satori}:8001"; }; /* "radio.${domain}" = { addSSL = true; @@ -70,17 +70,18 @@ in locations."= /".return = "301 /radio"; };*/ - /* "git.${domain}" = genericHttpRProxy { + "git.${domain}" = genericHttpRProxy { addr = "http://${marisa}:5001"; conf = "client_max_body_size 64M;"; - }; - "nomad.${domain}" = genericHttpRProxy { + }; + /*"nomad.${domain}" = genericHttpRProxy { addr = "http://${marisa}:4646"; conf = '' proxy_buffering off; proxy_read_timeout 310s; ''; - };*/ + }; + */ }; }; };