about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-25 12:43:12 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-25 12:43:12 +0200
commit509622f7b57e32daa3b58fa5ef6132e6cb440e82 (patch)
tree1bf8eab461da229ccae6884840cd4d051d149e5b
parentFirewall: Allow tcp:80 (diff)
downloadnixos-config-509622f7b57e32daa3b58fa5ef6132e6cb440e82.tar.gz
nixos-config-509622f7b57e32daa3b58fa5ef6132e6cb440e82.tar.bz2
nixos-config-509622f7b57e32daa3b58fa5ef6132e6cb440e82.zip
SSH: Change listening port to port 22
-rw-r--r--hosts/configuration.nix4
1 files 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;