wireguard access to friends

This commit is contained in:
Danilo Reyes 2024-10-01 17:58:59 -06:00
parent e47c2a6974
commit 1dcadd6f8e

View File

@ -30,9 +30,21 @@ in
privateKeyFile = config.sops.secrets."wireguard/private".path;
peers = [
{
publicKey = "p9zdJPe4ZfCal6+6N1Vay0sCyFv53LbXevOqzJddE2c=";
publicKey = "ciupBjCcIpd3K5vlzNMJC8iiyNqB9xXwkSC6UXPKP3g=";
allowedIPs = [ "10.100.0.2/32" ];
}
} # phone
# {
# publicKey = "p9zdJPe4ZfCal6+6N1Vay0sCyFv53LbXevOqzJddE2c=";
# allowedIPs = [ "10.100.0.3/32" ];
# } # tablet
{
publicKey = "TinYhzLh4D+bX7RTwj/Ww3V0JdaTuD114jhgCWCWW1I=";
allowedIPs = [ "10.100.0.15/32" ];
} # joy
{
publicKey = "92JdW/NExg1tUE4cEyl6Yn+0Eex+iFVA37ahPRhRnRM=";
allowedIPs = [ "10.100.0.16/32" ];
} # gorilia
];
};
};