[modules] init vpn
This commit is contained in:
24
machines/modules/malobeo/peers.nix
Normal file
24
machines/modules/malobeo/peers.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"vpn" = {
|
||||
role = "server";
|
||||
publicIp = "5.9.153.217";
|
||||
ips = [ "10.100.0.1/24" ];
|
||||
allowedIPs = [ "10.100.0.0/24" ];
|
||||
listenPort = 51821;
|
||||
publicKey = "";
|
||||
};
|
||||
|
||||
"fanny" = {
|
||||
role = "client";
|
||||
ips = [ "10.100.0.2/24" ];
|
||||
allowedIPs = [ "10.100.0.0/24" ];
|
||||
publicKey = "";
|
||||
};
|
||||
|
||||
"test" = {
|
||||
role = "client";
|
||||
ips = [ "10.100.0.3/24" ];
|
||||
allowedIPs = [ "10.100.0.0/24" ];
|
||||
publicKey = "";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user