System Gen159 @ 2025-04-23-00:25:53
This commit is contained in:
20
modules/networking/wireguard/peers.nix
Normal file
20
modules/networking/wireguard/peers.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{}: {
|
||||
harbor = {
|
||||
publicKey = "aFl1ILLtKQkXctqzMZQxgnfLtSrKabs4NO2fZExeKWE=";
|
||||
|
||||
# Forward all trafic to the VPN.
|
||||
allowedIPs = ["0.0.0.0/0"];
|
||||
|
||||
# Server endpoint to connect to.
|
||||
endpoint = "173.249.42.252:51820";
|
||||
|
||||
# Send keepalives every 25 seconds. Important to keep NAT tables alive.
|
||||
persistentKeepalive = 25;
|
||||
};
|
||||
|
||||
jonas = {
|
||||
publicKey = "oPMapC1S3TPe+/YQulG0AsVsOu+MzZY7huvAAXVJEnM=";
|
||||
address = ["10.10.10.2/24"];
|
||||
allowedIPs = ["10.10.10.2/32"];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user