[GH-ISSUE #6089] [Bug]: wireguard: no free address available in 10.0.0.0/24 #4207

Closed
opened 2026-10-31 20:37:58 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @ciscopeer on GitHub (Jul 24, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6089

Describe the bug

Creating a new WireGuard client fails with wireguard: no free address available in 10.0.0.0/24 because the IP pool is exhausted and no free address is available.

How to reproduce the problem

  1. Configure a WireGuard server with a client IP pool restricted to a /24 subnet (e.g., 10.0.0.0/24).
  2. Create or provision new clients until all 253/254 available IP addresses in the pool are allocated.
  3. Attempt to generate or add one more new WireGuard client profile.
  4. Observe the failure and the error message: wireguard: no free address available in 10.0.0.0/24.

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.5.0

Xray-core version

v26.7.11

How did you install 3x-ui?

install.sh script

Operating system

ubuntu22

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @ciscopeer on GitHub (Jul 24, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6089 ### Describe the bug Creating a new WireGuard client fails with wireguard: no free address available in 10.0.0.0/24 because the IP pool is exhausted and no free address is available. ### How to reproduce the problem 1. Configure a WireGuard server with a client IP pool restricted to a `/24` subnet (e.g., `10.0.0.0/24`). 2. Create or provision new clients until all 253/254 available IP addresses in the pool are allocated. 3. Attempt to generate or add one more new WireGuard client profile. 4. Observe the failure and the error message: `wireguard: no free address available in 10.0.0.0/24`. ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.5.0 ### Xray-core version v26.7.11 ### How did you install 3x-ui? install.sh script ### Operating system ubuntu22 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:37:58 +07:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#4207
No description provided.