satori: yearly visit

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2024-02-25 17:07:30 +05:30
parent d4554d43ae
commit 855dd5d445
15 changed files with 307 additions and 341 deletions

View File

@@ -10,7 +10,7 @@
};
firewall = {
allowedTCPPorts = [ 22 18172 6600 8001 7590 25565 ];
allowedTCPPorts = [ 22 18172 6600 8001 7590 25565 9092 ];
allowedUDPPorts = [ 22 17840 18172 ];
trustedInterfaces = [ "docker0" ];
};
@@ -19,15 +19,13 @@
ips = [ satori ];
listenPort = 17840;
privateKeyFile = "/var/secrets/wg.key";
peers = [
{
#Oracle VM1
publicKey = "z0Y2VNEWcyVQVSqRHiwmiJ5/0MgSPM+HZfEcwIccSxM=";
allowedIPs = [ remilia ];
endpoint = "${lib'.network.addresses.domain.natto}:17840";
persistentKeepalive = 25;
}
];
peers = [{
#Oracle VM1
publicKey = "z0Y2VNEWcyVQVSqRHiwmiJ5/0MgSPM+HZfEcwIccSxM=";
allowedIPs = [ remilia ];
endpoint = "${lib'.network.addresses.domain.natto}:17840";
persistentKeepalive = 25;
}];
};
defaultGateway = "192.168.1.1";