Add raccoon peer to wireguard

This commit is contained in:
2025-09-19 13:27:42 +02:00
parent 4a97ca2e18
commit bb2c3345a0
6 changed files with 54 additions and 0 deletions

View File

@@ -25,11 +25,17 @@
# Send keepalives every 25 seconds. Important to keep NAT tables alive.
persistentKeepalive = 25;
}
{
name = "raccoon";
publicKey = "QUfnGXSMEgu2bviglsaSdCjidB51oEDBFpnSFcKGfDI=";
allowedIPs = [ "10.106.0.236/32" ];
}
];
};
};
networking.hosts = {
"10.106.0.1" = [ "fox" ];
"10.106.0.236" = [ "raccoon.wg" ];
};
}