From e6b64f84ec343f248bde6bd9569bc218a7a31d77 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 25 Sep 2022 12:43:12 +0200 Subject: SSH: Change listening port to port 22 --- hosts/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 3f2def7..130d213 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -42,7 +42,7 @@ nameservers = [ "9.9.9.9" ]; firewall = { enable = true; - allowedTCPPorts = [ 80 2222 ]; + allowedTCPPorts = [ 80 22 ]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. }; @@ -137,7 +137,7 @@ kbdInteractiveAuthentication = false;*/ listenAddresses = [{ addr = "0.0.0.0"; - port = 2222; + port = 22; }]; }; dbus.enable = true; -- cgit 1.4.1