Skip to content

Commit

Permalink
feat(nixos): Add a Wireguard public key for my sister
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Nov 27, 2024
1 parent 0362ca5 commit 2b517b9
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions hosts/server/wireguard.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,16 @@ in {
${pkgs.iptables}/bin/ip6tables -t nat -D POSTROUTING -s fdc9:281f:04d7:9ee9::1/64 -o ${external_interface} -j MASQUERADE
'';

peers = [{
publicKey = "klCZN17QW/0ZtAlmj24R6ftBRozXUGn3hvWjF9ledC4=";
allowedIPs = [ "10.0.0.2/28" "fdc9:281f:04d7:9ee9::2/64" ];
}];
peers = [
{
publicKey = "klCZN17QW/0ZtAlmj24R6ftBRozXUGn3hvWjF9ledC4=";
allowedIPs = [ "10.0.0.2/28" "fdc9:281f:04d7:9ee9::2/64" ];
}
{
publicKey = "0XXP3UgA67bcImCB4UOvyno3fhiBx7v6ufd4y4MH1xE=";
allowedIPs = [ "10.0.0.2/28" "fdc9:281f:04d7:9ee9::2/64" ];
}
];
};
};
};
Expand Down

0 comments on commit 2b517b9

Please sign in to comment.