summaryrefslogtreecommitdiff
path: root/modules/wireguard.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2022-06-18 11:49:27 +0200
committerGrigory Shipunov2022-06-18 11:51:27 +0200
commit121e2f5004e109c5fc9530d136aae497061b8ef7 (patch)
tree6a7f9adba499e626431a402b8356a268b5d2c69b /modules/wireguard.nix
parent16da95bca0c6daecca412c7b883e4cf2aa6397ba (diff)
oxalab: init
Diffstat (limited to 'modules/wireguard.nix')
-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;
+ }];
+ };
};
}