From d546617d9230de174d56bb3b9fe638353dd585ea Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Fri, 14 Feb 2025 21:48:56 -0500 Subject: [PATCH] Infini-FRAMEWORK: add bb vpn for dallas datacenter --- hosts/Infini-FRAMEWORK/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hosts/Infini-FRAMEWORK/default.nix b/hosts/Infini-FRAMEWORK/default.nix index f0fb4a8..e1782a1 100644 --- a/hosts/Infini-FRAMEWORK/default.nix +++ b/hosts/Infini-FRAMEWORK/default.nix @@ -149,6 +149,20 @@ } ]; }; + networking.wg-quick.interfaces.wg1 = { + address = [ "10.11.0.3/32" ]; + listenPort = 51820; + privateKeyFile = "/home/infinidoge/tmp/bb-vpn-dfw.key"; + mtu = 1300; + peers = [ + { + publicKey = "uPejaHkvkjOAjm5s+ILbxmHnw2gh3A1Wtz++ijS5TmI="; + allowedIPs = [ "10.40.1.0/24" ]; + endpoint = "104.167.215.168:51820"; + persistentKeepalive = 25; + } + ]; + }; specialisation.router.configuration = { networking = {