security: enable firewall

This commit is contained in:
LavaDesu 2021-09-20 13:42:43 +00:00
parent 6427297c9e
commit 1e370e35f3
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,9 @@
{ config, pkgs, ... }: {
networking.firewall.enable = false;
networking.firewall = {
enable = true;
allowedUDPPorts = [ 20100 ];
trustedInterfaces = [ "wg0" ];
};
services.openssh = {
enable = true;