|
@ -61,7 +61,7 @@ class WireGuard { |
|
|
createdAt: new Date(client.createdAt), |
|
|
createdAt: new Date(client.createdAt), |
|
|
updatedAt: new Date(client.updatedAt), |
|
|
updatedAt: new Date(client.updatedAt), |
|
|
expiresAt: client.expiresAt, |
|
|
expiresAt: client.expiresAt, |
|
|
allowedIPs: client.allowedIPs, |
|
|
allowedIps: client.allowedIps, |
|
|
oneTimeLink: client.oneTimeLink, |
|
|
oneTimeLink: client.oneTimeLink, |
|
|
persistentKeepalive: null as string | null, |
|
|
persistentKeepalive: null as string | null, |
|
|
latestHandshakeAt: null as Date | null, |
|
|
latestHandshakeAt: null as Date | null, |
|
@ -156,7 +156,7 @@ class WireGuard { |
|
|
oneTimeLink: null, |
|
|
oneTimeLink: null, |
|
|
expiresAt: null, |
|
|
expiresAt: null, |
|
|
enabled: true, |
|
|
enabled: true, |
|
|
allowedIPs: [...system.userConfig.allowedIps], |
|
|
allowedIps: [...system.userConfig.allowedIps], |
|
|
serverAllowedIPs: [], |
|
|
serverAllowedIPs: [], |
|
|
persistentKeepalive: system.userConfig.persistentKeepalive, |
|
|
persistentKeepalive: system.userConfig.persistentKeepalive, |
|
|
mtu: system.userConfig.mtu, |
|
|
mtu: system.userConfig.mtu, |
|
|