about summary refs log tree commit diff
path: root/hosts
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
commite6b64f84ec343f248bde6bd9569bc218a7a31d77 (patch)
tree3b771503a2ce8f043471f8798b7b4b87d341c9f3 /hosts
parentFirewall: Allow tcp:80 (diff)
downloadnixos-config-e6b64f84ec343f248bde6bd9569bc218a7a31d77.tar.gz
nixos-config-e6b64f84ec343f248bde6bd9569bc218a7a31d77.tar.bz2
nixos-config-e6b64f84ec343f248bde6bd9569bc218a7a31d77.zip
SSH: Change listening port to port 22
Diffstat (limited to 'hosts')
-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;