fix: a mess of ports
This commit is contained in:
parent
b00d1519ac
commit
9004fd3933
2 changed files with 14 additions and 5 deletions
|
|
@ -12,13 +12,14 @@
|
|||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [ 4200 ];
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 4200 ];
|
||||
|
||||
users.users.lew = {
|
||||
isNormalUser = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue