From c699aaac119501a269421ad80dd0b1e5f976166f Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Wed, 4 Aug 2021 17:44:12 -0400 Subject: fix config --- config/router.nix | 2 +- modules/nycmesh.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/router.nix b/config/router.nix index df1f931..62c3510 100644 --- a/config/router.nix +++ b/config/router.nix @@ -263,7 +263,7 @@ in { networking.wireguard.interfaces.nycmesh.postSetup = '' ip rule add fwmark ${toString nycmeshMark} table nycmesh - ip route replace default dev nycmesh table nycmesh + ip route replace default via 10.70.73.1 dev nycmesh table nycmesh ip route flush cache ''; diff --git a/modules/nycmesh.nix b/modules/nycmesh.nix index e3a3f26..70fbb6e 100644 --- a/modules/nycmesh.nix +++ b/modules/nycmesh.nix @@ -23,13 +23,13 @@ in enable = true; interfaces.nycmesh = { privateKeyFile = "/opt/secret/wireguard/nycmesh.private"; - ips = [ "10.70.90.245/32" "fc00:bbbb:bbbb:bb01::7:5af4/128" ]; + ips = [ "10.70.73.50/32" ]; allowedIPsAsRoutes = false; listenPort = cfg.listenPort; peers = [ { - endpoint = "ca10-wireguard.nycmesh.net:51820"; - publicKey = "pAVh6WJtyF7ktvavez399L4A615TXOAaUHQgpwJ4EHU="; + endpoint = "wgvpn.sn1.mesh.nycmesh.net:51822"; + publicKey = "04crAKqAju+ZlEXCdZGAa4OyhDe1k2CHIlshr2KoYAQ="; allowedIPs = [ "0.0.0.0/0" "::0/0" ]; } ]; -- cgit v1.2.3