Add caravanserai to Wireguard peers

This commit is contained in:
coolneng 2021-03-30 17:13:34 +02:00
parent 826530e5bb
commit d4bb02a494
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 7 additions and 2 deletions

View File

@ -82,13 +82,18 @@ in {
wg0 = { wg0 = {
ips = [ "10.9.0.1/24" ]; ips = [ "10.9.0.1/24" ];
listenPort = 1194; listenPort = 1194;
privateKeyFile = "/home/coace/.wg/keys/privatekey"; privateKeyFile = "/home/coace/.wg/server/privatekey";
peers = [ peers = [
# Amin # panacea
{ {
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38="; publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
allowedIPs = [ "10.9.0.2/32" ]; allowedIPs = [ "10.9.0.2/32" ];
} }
# caravanserai
{
publicKey = "4jiEKaPjNPU3JghfwLyArRhCKZmT8VYN07iw0SL/eHc=";
allowedIPs = [ "10.9.0.3/32" ];
}
]; ];
}; };
}; };