Add caravanserai to Wireguard peers
This commit is contained in:
parent
826530e5bb
commit
d4bb02a494
|
@ -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" ];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue