wireguard

This commit is contained in:
Henri Dohmen 2025-05-26 23:15:15 +02:00
parent 7268b56265
commit bdccb2f265
2 changed files with 10 additions and 5 deletions

View file

@ -8,7 +8,7 @@ rec {
wireguard-network = {
"roam" = {
publicKey = publicKey."roam";
ips = [ "10.10.11.1/24" ];
ips = [ "10.10.11.1/32" ];
allowedIPs = [ "10.10.11.0/24" ];
endpoint = "185.163.117.158:51820";
persistentKeepalive = 17;
@ -20,8 +20,8 @@ rec {
};
"c2" = {
publicKey = publicKey."c2";
ips = [ "10.10.11.2/24" ];
allowedIPs = [ "10.10.11.2/32" ];
ips = [ "10.10.11.3/24" ];
allowedIPs = [ "10.10.11.3/32" ];
};
};
keyFile = "/var/secrets/wg.key";