security: enable firewall
This commit is contained in:
parent
6427297c9e
commit
1e370e35f3
3 changed files with 9 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
{ config, pkgs, ... }: {
|
||||
networking.firewall.enable = false;
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedUDPPorts = [ 20100 ];
|
||||
trustedInterfaces = [ "wg0" ];
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue