added firewall configuration

This commit is contained in:
jeirmeister 2025-08-01 12:07:12 -07:00
parent 52ddb3cbaa
commit a3f3078e35
4 changed files with 32 additions and 102 deletions

View file

@ -30,6 +30,15 @@
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAaV7JtUWkWrjo5FfCcpTCCEY/OJ+T1mJOLbe4avg0XH sysadmin@skrybit.io"
];
networking.firewall.allowedTCPPorts = [
23002
22
# 24444
# 8332
# 5432
# 28332
# 28333
];
services.openssh = {
enable = true;
settings = {