From 6d780d8ada37d98a89fdedd75a59029a62f73efb Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 22 Oct 2025 03:28:53 +0000 Subject: [PATCH] Add non-standard SSH port --- host/nocix/amd-legacy-sexcore/network.nix | 4 ++-- modules/system/openssh.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/host/nocix/amd-legacy-sexcore/network.nix b/host/nocix/amd-legacy-sexcore/network.nix index 4671550..fa55501 100644 --- a/host/nocix/amd-legacy-sexcore/network.nix +++ b/host/nocix/amd-legacy-sexcore/network.nix @@ -13,8 +13,8 @@ firewall = { enable = true; interfaces.enp3s0 = { - allowedUDPPorts = [ 22 80 443 7000 ]; - allowedTCPPorts = [ 22 80 443 7000 ]; + allowedUDPPorts = [ 22 80 443 7000 16652 ]; + allowedTCPPorts = [ 22 80 443 7000 16652 ]; }; }; hostName = "nocix-amd-legacy-sexcore"; diff --git a/modules/system/openssh.nix b/modules/system/openssh.nix index 880aa80..0fa98b8 100644 --- a/modules/system/openssh.nix +++ b/modules/system/openssh.nix @@ -3,7 +3,7 @@ { services.openssh = { enable = true; - # ports = [ 22 16652 ]; + ports = [ 22 16652 ]; }; }