Skip to content

X-NET v1.4.5

Choose a tag to compare

@xpanel-cp xpanel-cp released this 12 Oct 14:08
· 2 commits to main since this release

✨ New Feature: Automatic IP Rotation (Cloudflare DNS Rotation)

A brand-new IP Rotation module has been added to the panel, exclusively for Super Admins.

  • Secure Cloudflare integration using an AES-256-GCM encrypted API token. The token is never displayed again after being saved.
  • Select the desired domain and A record directly from Cloudflare.
  • Unlimited IP pool with individual IP entry, bulk import, and drag-and-drop reordering.
  • Deterministic and reliable FIFO rotation across IPs, automatically returning to the beginning of the list. The rotation order is preserved even after panel restarts.
  • Three scheduling modes: Manual, Interval-based (every 1/3/6/12/24 hours), or Daily at a specific time with a configurable time zone.
  • TCP-based IP health checks before each rotation (explicitly not ping/ICMP), with a configurable failure threshold for automatically excluding unreachable IPs and restoring them when they become reachable again.
  • Comprehensive statistics dashboard, execution history, and a built-in guide on how to obtain a Cloudflare API token.
  • Full translations in all four panel languages: Persian, English, Russian, and Chinese.

🐛 Bug Fixes: Reseller Quotas

  • Account renewals can no longer bypass reseller quotas. Previously, renewing SSH or VPN accounts did not affect the reseller's account-count or allocated traffic limits, allowing unlimited renewals. Now, every renewal deducts from both the reseller's account-count quota and traffic quota, just like creating a new account.
  • Renewal duration for SSH/VPN accounts in the reseller panel is now fixed at exactly 30 days — no more, no less. This is enforced for both account creation and editing and cannot be bypassed through frontend manipulation.
  • Deleting an account only frees up its account-count quota. Used traffic, including traffic consumed through renewals, remains permanently charged against the reseller's quota unless manually reset by a Super Admin.
  • These changes are protected by transactional locking to prevent concurrent requests from exceeding quota limits.
  • These changes apply exclusively to the Reseller role. Super Admin and Operator functionality remains unchanged.

Install the latest version:

apt update
bash <(curl -fsSL https://raw.githubusercontent.com/xpanel-cp/x-net/main/install/xnet.sh)