ngoduykhanh / wireguard-ui

Wireguard web interface
MIT License
3.78k stars 464 forks source link

Default IP Allocation #548

Open Shattacrew opened 4 months ago

Shattacrew commented 4 months ago

Where can I set ip allocation default config? I keep getting /32 and I would like it to default to /24

halsafar commented 4 months ago

I've run into a similar sounding issue. No matter what I do it keeps settings the server interface to /32 and then when I go to create a New Client I see this message: "Cannot suggest ip allocation: failed to get available ip." Leading to being unable to add a client because no IP can be assigned.

So I deleted wireguard-ui and its data/config dirs. Recreated the container from scratch. I notice the default server interface is correctly /24. However if I edit it in anyway it always forces it to /32 leading to the above issue.