diff --git a/hosts/merope/wireguard.nix b/hosts/merope/wireguard.nix index 4020b05a..af184f11 100644 --- a/hosts/merope/wireguard.nix +++ b/hosts/merope/wireguard.nix @@ -29,12 +29,12 @@ in { # Calaeno (phone) { publicKey = "OpU45rd0BrLPWHrtPtN8U5s4b3RU10B4TiHAN0p842g="; - allowedIPs = [ "10.100.0.2/32" ]; + allowedIPs = [ "10.100.0.2/32" "224.0.0.251/32" ]; } # Pleione (laptop) { publicKey = "zAkZz0taqMnOpoOUgdBnWcRjaRvRVkv874oiYE4ZxV0="; - allowedIPs = [ "10.100.0.3/32" ]; + allowedIPs = [ "10.100.0.3/32" "224.0.0.251/32" ]; } ]; }; diff --git a/hosts/pleione/wireguard.nix b/hosts/pleione/wireguard.nix index 5a510fe3..37cbe84a 100644 --- a/hosts/pleione/wireguard.nix +++ b/hosts/pleione/wireguard.nix @@ -10,8 +10,8 @@ privateKeyFile = "/data/etc/wireguard/private.key"; peers = [{ publicKey = "a3dmQRbDmCeWEUyiUxAIjoI5icfzw8llKv5BHTgCJw8="; - # allowedIPs = [ "192.168.77.0/24" "224.0.0.251/32" "ff02::fb/128" ]; - allowedIPs = [ "::0/0" "0.0.0.0/0" ]; + allowedIPs = [ "10.100.0.0/24" "192.168.77.0/24" "224.0.0.251/32" "ff02::fb/128" ]; + # allowedIPs = [ "::0/0" "0.0.0.0/0" ]; endpoint = "home.misterio.me:51820"; dynamicEndpointRefreshSeconds = 25; persistentKeepalive = 25;