summaryrefslogtreecommitdiff
path: root/hosts/thinkpad/wireguard.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/thinkpad/wireguard.nix')
-rw-r--r--hosts/thinkpad/wireguard.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/hosts/thinkpad/wireguard.nix b/hosts/thinkpad/wireguard.nix
index 84ba8d1..72eb113 100644
--- a/hosts/thinkpad/wireguard.nix
+++ b/hosts/thinkpad/wireguard.nix
@@ -9,16 +9,16 @@
networking.wg-quick.interfaces = {
freyanet = {
- address = ["10.2.0.10/32" "fd:cafe:dead:bee::10/128" "fe80::10/128"];
- dns = ["10.3.0.138"];
+ address = ["10.3.0.5/32"];
+ dns = ["10.2.0.1"];
privateKeyFile = config.sops.secrets.freyanetWg.path;
autostart = false;
peers = [
{
publicKey = "x0ykwakpYCvI/pG+nR83lNUyeOE9m54thnX3bvZ+FUk=";
- allowedIPs = ["10.0.0.0/14" "fd:cafe::/32"];
- endpoint = "cid.freya.cat:3000";
+ allowedIPs = ["10.0.0.0/8"];
+ endpoint = "freya.cat:3000";
persistentKeepalive = 25;
}
];