From f6fe541f34544a78bc6eb3f670af8205b50fe197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 29 Oct 2022 22:15:06 +0100 Subject: [PATCH] move vpsfree ssh to a different port --- nixos/boxes/vpsfree1/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/boxes/vpsfree1/default.nix b/nixos/boxes/vpsfree1/default.nix index f928705b..622ea963 100644 --- a/nixos/boxes/vpsfree1/default.nix +++ b/nixos/boxes/vpsfree1/default.nix @@ -17,6 +17,8 @@ ./syncthing-relay.nix ]; + services.openssh.ports = [ 2222 ]; + networking.firewall.allowedTCPPorts = [ 2222 ]; systemd.extraConfig = '' DefaultTimeoutStartSec=900s '';