Baldur open firewall

This commit is contained in:
Filippo Berto 2022-12-19 17:38:04 +01:00
parent 7b883fc03b
commit defca18c6e
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
2 changed files with 2 additions and 1 deletions

View file

@ -78,7 +78,7 @@ with lib; {
networking.firewall = {
enable = true;
allowPing = true;
# allowedTCPPorts = [ ];
allowedTCPPorts = [ 8000 ];
# allowedUDPPorts = [ ];
extraCommands = ''iptables -t raw -A OUTPUT -p udp -m udp --dport 137 -j CT --helper netbios-ns'';
};

View file

@ -5,6 +5,7 @@
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAhxOjo9Ac9hVd3eOR56F6sClUMUh1m7VpcmzA18dslj bertof@odin"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO7mcf8fbMo1eXqSJeVFWaweB+JOU+67dFuf8laZKZZG bertof@thor"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbG791lSOl8Rqoy+KkdKiOJnOMRg02+HZ/VrlrWMYAX bertof@baldur"
];
};
}