diff --git a/configuration.nix b/configuration.nix index 2d1dedf..915eff0 100644 --- a/configuration.nix +++ b/configuration.nix @@ -176,13 +176,14 @@ # WireGuard VPN networking.wg-quick.interfaces.wg0 = { - address = [ "10.0.1.66/28" ]; + address = [ "10.0.1.67/32" ]; + dns = [ "10.0.1.65" ]; privateKeyFile = "/etc/wireguard/private.key"; peers = [{ publicKey = "VEpzr/CeGdS6Wsy0NDDfmlB/bCYxS55A155HWGCIIzc="; endpoint = "vpn.leeworks.dev:51820"; - allowedIPs = [ "192.168.1.0/24" "10.0.0.0/24" "10.0.1.0/26" ]; + allowedIPs = [ "0.0.0.0/0" ]; persistentKeepalive = 25; }]; };