OPNsense Forum

English Forums => Virtual private networks => Topic started by: astuckey on January 21, 2022, 03:02:59 am

Title: WireGuard - Max number of instances reached
Post by: astuckey on January 21, 2022, 03:02:59 am
Hi there,

Looks like there is a cap on the amount of WG local configurations you can create in the UI (20).
The following error is reported if you attempt to create any more:
Maximum number of instances reached

It appears this limit is enforced here:
https://github.com/opnsense/plugins/blob/f8f3975e00560425bd1de3136320d181a83e4f84/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/Server.xml#L20

Just wondering why this limit is so small or fixed at all?

OPNsense 21.7.7
os-wireguard 1.9

Regards,
Adam
Title: Re: WireGuard - Max number of instances reached
Post by: astuckey on January 21, 2022, 03:13:22 am
https://github.com/opnsense/plugins/issues/2759
Title: Re: WireGuard - Max number of instances reached
Post by: Greelan on January 21, 2022, 03:15:28 am
There was a recent discussion on this: https://forum.opnsense.org/index.php?topic=26232

What’s the use case for needing more?