use nonstandard ssh port
This commit is contained in:
parent
5dded316af
commit
31e7614d0d
2 changed files with 31 additions and 8 deletions
|
|
@ -1,8 +1,15 @@
|
|||
{lib, ...}: {
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
42069 # ssh
|
||||
];
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
networking = {
|
||||
firewall = {
|
||||
allowedTCPPorts = [
|
||||
42069 # ssh
|
||||
];
|
||||
};
|
||||
nftables.enable = true;
|
||||
};
|
||||
|
||||
security = {
|
||||
|
|
@ -68,4 +75,8 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
unixtools.netstat
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue