From 651a0d3c647ae4633e36623360aa76e5828a51dc Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Fri, 7 Jun 2019 10:28:24 +0200 Subject: [PATCH] port SSH alternatif --- systems/LoutreOS/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systems/LoutreOS/configuration.nix b/systems/LoutreOS/configuration.nix index fec57f5..2aeb375 100644 --- a/systems/LoutreOS/configuration.nix +++ b/systems/LoutreOS/configuration.nix @@ -81,6 +81,9 @@ in # externalIP = "0.0.0.0"; internalIPs = [ "10.30.0.0/16" ]; internalInterfaces = [ "eno2" ]; + forwardPorts = [ + { destination = "10.30.0.1:22"; proto = "tcp"; sourcePort = 8443;} + ]; }; firewall = {