summaryrefslogtreecommitdiff
path: root/hosts/cloud/networking.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/cloud/networking.nix')
-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 = {