From 9cea8a08c356267067997ee81ae9ea1d9169df79 Mon Sep 17 00:00:00 2001 From: l Date: Fri, 3 Nov 2023 17:02:46 +0100 Subject: [PATCH] dn wg-link --- machines/dn/configuration.nix | 1 + modules/wg-link/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/machines/dn/configuration.nix b/machines/dn/configuration.nix index 76f4adf7..51a8d66e 100644 --- a/machines/dn/configuration.nix +++ b/machines/dn/configuration.nix @@ -13,6 +13,7 @@ secrets = "/home/l/.keys"; wireguard.enable = true; wg-deep.enable = true; + wg-link.enable = true; eth = "enp111s0"; }; networking = { diff --git a/modules/wg-link/default.nix b/modules/wg-link/default.nix index 11b6a032..e552fd3d 100644 --- a/modules/wg-link/default.nix +++ b/modules/wg-link/default.nix @@ -10,11 +10,11 @@ in { # 10.0.0.1 jitsi.linkserver.org # ''; networking.firewall.allowedUDPPorts = [ 51820 ]; - networking.firewall.checkReversePath =mkForce false; + networking.firewall.checkReversePath = mkForce false; networking.wireguard.interfaces = { wg-link = { ips = [ "10.0.1.2/24" "fdc9:281f:04d7:9eea::2/64" ]; - listenPort = 51820; + # listenPort = 51821; # dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ]; privateKeyFile = "${config.link.secrets}/wg-link-l.private"; peers = [