test
This commit is contained in:
parent
ec02d0b00e
commit
04617073fe
2 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ ];
|
allowedTCPPorts = [ ];
|
||||||
allowedUDPPorts = [ ];
|
allowedUDPPorts = [ ];
|
||||||
trustedInterfaces = [ "tailscale0" ];
|
networking.interfaces.tailscale0.allowedTCPPorts = [ 22 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
openFirewall = false;
|
||||||
settings = {
|
settings = {
|
||||||
LogLevel = "VERBOSE"; # Used for fail2ban monitoring
|
LogLevel = "VERBOSE"; # Used for fail2ban monitoring
|
||||||
PermitRootLogin = "no";
|
PermitRootLogin = "no";
|
||||||
|
|
Loading…
Reference in a new issue