From 60a62f028833549e6982452c40b9b5d4c57cfecf Mon Sep 17 00:00:00 2001 From: Lyn Date: Wed, 15 Jan 2025 16:32:01 +0100 Subject: [PATCH] use random ports for homeserver so it IGD doesn't collide with devices with default port --- hosts/network.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/network.nix b/hosts/network.nix index c051103..975dde8 100644 --- a/hosts/network.nix +++ b/hosts/network.nix @@ -27,6 +27,8 @@ wg = { enabled = true; pubkey = "jdfbOnP0mFWFobtQunm0h6EtqOZiar9G9jngMU7b+Co="; + port_v4 = 56052; + port_v6 = 1; }; IPv4 = { # we use 10.35.0.0/16 as a range for private subnets, specifically 10.35.0.0/24 for wireguard peers