try to fix wireguard avahi

This commit is contained in:
Gabriel Fontes
2021-12-26 16:05:18 -03:00
parent 14d3f53ad3
commit bd88caaf9d
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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" ];
}
];
};
+2 -2
View File
@@ -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;