From 121e2f5004e109c5fc9530d136aae497061b8ef7 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sat, 18 Jun 2022 11:49:27 +0200 Subject: oxalab: init --- modules/wireguard.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'modules/wireguard.nix') diff --git a/modules/wireguard.nix b/modules/wireguard.nix index 17be0d0..84287a7 100644 --- a/modules/wireguard.nix +++ b/modules/wireguard.nix @@ -14,18 +14,17 @@ } ]; }; + wg-dvb = { privateKeyFile = config.sops.secrets."wg/wg-dvb-seckey".path; address = [ "10.13.37.3/32" ]; - peers = [ - { + peers = [ { publicKey = "WDvCObJ0WgCCZ0ORV2q4sdXblBd8pOPZBmeWr97yphY="; allowedIPs = [ "10.13.37.0/24" ]; endpoint = "academicstrokes.com:51820"; persistentKeepalive = 25; - } - ]; + } ]; }; mlwd-nl = { @@ -39,5 +38,17 @@ endpoint = "92.60.40.194:51820"; }]; }; + + oxalab = { + privateKeyFile = config.sops.secrets."wg/oxalab-seckey".path; + address = [ "10.66.66.10/32" ]; + + peers = [{ + publicKey = "5nCVC21BL+1r70OGwA4Q6Z/gcPLC3+ZF8sTurdn7N0E="; + allowedIPs = [ "10.66.66.0/24" ]; + endpoint = "95.216.166.21:51820"; + persistentKeepalive = 25; + }]; + }; }; } -- cgit v1.3.1