diff options
Diffstat (limited to 'modules/networking/firewall.nix')
| -rw-r--r-- | modules/networking/firewall.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/networking/firewall.nix b/modules/networking/firewall.nix new file mode 100644 index 0000000..73bc44f --- /dev/null +++ b/modules/networking/firewall.nix @@ -0,0 +1,18 @@ +{ + networking.firewall = { + enable = true; + allowedUDPPorts = [ 53 ]; + + allowedTCPPorts = [ + 80 + 443 + ]; + + allowedUDPPortRanges = [ + { + from = 60000; + to = 61000; + } + ]; + }; +} |