summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/wireguard.nix19
1 files changed, 15 insertions, 4 deletions
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;
+ }];
+ };
};
}