3x-ui/internal
MHSanaei 79069d2b64
fix(wireguard): allocate client IPs in the existing peer subnet
defaultWireguardClients always allocated new tunnel addresses from the
hardcoded 10.0.0.0/24 base, so a legacy or migrated inbound whose peers
live in a different subnet (e.g. 172.16.0.0/24) got new clients in an
unrelated, unroutable range. Derive the allocation base from the existing
peers' /24 and fall back to 10.0.0.0/24 only when there are none.
2026-06-28 14:41:24 +02:00
..
config v3.4.1 2026-06-26 00:52:00 +02:00
database feat(wireguard): multi-client support 2026-06-28 00:44:38 +02:00
eventbus style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
logger style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
mtproto style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
sub feat(wireguard): multi-client support 2026-06-28 00:44:38 +02:00
tunnelmonitor style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
util feat(wireguard): multi-client support 2026-06-28 00:44:38 +02:00
web fix(wireguard): allocate client IPs in the existing peer subnet 2026-06-28 14:41:24 +02:00
xray feat(wireguard): multi-client support 2026-06-28 00:44:38 +02:00