add mesh sup ip
This commit is contained in:
parent
ef21fa4a53
commit
e156ee4539
1 changed files with 2 additions and 0 deletions
|
@ -36,7 +36,9 @@ let
|
||||||
if4 = {
|
if4 = {
|
||||||
"mesh-${shorten peerName}-${toString remoteZone}-${toString remoteId}" = {
|
"mesh-${shorten peerName}-${toString remoteZone}-${toString remoteId}" = {
|
||||||
ips = [
|
ips = [
|
||||||
|
"172.19.${toString myId}.${toString myId}/32"
|
||||||
"172.19.${toString remoteId}.${toString myId}/32"
|
"172.19.${toString remoteId}.${toString myId}/32"
|
||||||
|
"fc00::${toString myId}:${toString myId}/128"
|
||||||
"fc00::${toString remoteId}:${toString myId}/128"
|
"fc00::${toString remoteId}:${toString myId}/128"
|
||||||
];
|
];
|
||||||
privateKeyFile = config.age.secrets."wg-private-zone-${toString myZone}-id-${toString myId}".path;
|
privateKeyFile = config.age.secrets."wg-private-zone-${toString myZone}-id-${toString myId}".path;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue