use random ports for homeserver so it IGD doesn't collide with devices with default port

This commit is contained in:
Lyn 2025-01-15 16:32:01 +01:00
parent 5bea98a37f
commit 60a62f0288

View file

@ -27,6 +27,8 @@
wg = { wg = {
enabled = true; enabled = true;
pubkey = "jdfbOnP0mFWFobtQunm0h6EtqOZiar9G9jngMU7b+Co="; pubkey = "jdfbOnP0mFWFobtQunm0h6EtqOZiar9G9jngMU7b+Co=";
port_v4 = 56052;
port_v6 = 1;
}; };
IPv4 = { IPv4 = {
# we use 10.35.0.0/16 as a range for private subnets, specifically 10.35.0.0/24 for wireguard peers # we use 10.35.0.0/16 as a range for private subnets, specifically 10.35.0.0/24 for wireguard peers