summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGrigory Shipunov2025-01-11 17:44:35 +0000
committerGrigory Shipunov2025-01-11 17:44:35 +0000
commit0f15709332a74af416ad77dab08b3b68df538d14 (patch)
treeb50388fd01903533b097f1c61d3b4a69122a63fd /hosts
parent62e2519639faa250f43f9e80e69906a59d07a44e (diff)
enable firewall
Diffstat (limited to 'hosts')
-rw-r--r--hosts/cloud/networking.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/cloud/networking.nix b/hosts/cloud/networking.nix
index 499bb0c..ea37472 100644
--- a/hosts/cloud/networking.nix
+++ b/hosts/cloud/networking.nix
@@ -2,6 +2,10 @@
{
networking.dhcpcd.enable = false;
+ networking.firewall.enable = true;
+ # TODO: configure automatically in the module
+ networking.firewall.allowedUDPPorts = [ 51820 ];
+
networking.useNetworkd = true;
systemd.network.enable = true;
systemd.network = {