add wg site get config and pick client defaults

This commit is contained in:
miloschwartz
2025-02-20 22:34:51 -05:00
parent fb49fb8ddd
commit 41983ce356
9 changed files with 305 additions and 5 deletions

View File

@@ -86,7 +86,7 @@ export async function getConfig(req: Request, res: Response, next: NextFunction)
const peers = await Promise.all(sitesRes.map(async (site) => {
return {
publicKey: site.pubKey,
allowedIps: await getAllowedIps(site.siteId)
allowedIps: await getAllowedIps(site.siteId) // put 0.0.0.0/0 for now
};
}));