bluebluesodaandCommandCodeBot 76e99e0fcf feat(config): allow any space-free string for panel.display_ip
display_ip is purely cosmetic (panel URL, SSH hints) and never used in
rules, so accept IPv6 addresses, domain names, or any string without
spaces instead of requiring a parseable IP.

- registry: validate only that the value contains no spaces
- tests: domain accepted, space-containing value rejected
- docs/examples: drop the "public IPv4" wording

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-08-20 16:05:19 +00:00
2026-08-14 14:33:40 +00:00

Vpsmgr Lite

A lightweight Incus container hosting panel for small VPS instances and low-memory hosts.

Security warning: The “VMs” created by this project are LXC containers, not virtual machines. Container isolation is weaker than KVM/QEMU. A container escape or kernel vulnerability could affect the host and other tenants. Do not run untrusted or high-security workloads on a shared host.

简体中文 · Documentation

Feature Details

  • Admin panel: users, quotas, domains, IPv6 pool, and audit logs
  • User panel: power control, self-service Debian 13/AlmaLinux 9 reinstall, and domain configuration
  • CPU, memory, and disk oversubscription; quota changes apply live without a container restart
  • Strict container network isolation; prefix mode assigns each container a dedicated /112 IPv6 block that it can subdivide
  • Traffic is counted in both directions; over-quota containers are rate-limited to 1 Mbps both ways
  • Compressed ZFS storage by default; the fixed instance limit is 200 containers
  • Ports 80/443 forward to container ports 80/443; port 80 uses shared HTTP proxying and port 443 shared SNI proxying

Installation

Ubuntu 22.04, 24.04, or 26.04 is recommended. Debian 12 and 13 are also supported; Debian requires a kernel-module build and takes longer to install.

Recommended minimum: 1 CPU core, 1.5 GB RAM, 15 GB of free disk space, and root access. Both amd64 and arm64 are supported; testing has focused mainly on amd64.

git clone https://github.com/bluebluesoda/vpsmgr.git
cd vpsmgr
sudo ./install.sh                  # download the latest prebuilt binary
# sudo ./install.sh --local-build  # always build from this checkout
# sudo ./install.sh --update       # update an existing install from the release

The installer first downloads the prebuilt binary from GitHub Releases. If that fails, it falls back to a local build. --local-build always rebuilds from source. If --update cannot download the release, the existing binary is left untouched.

ZFS is the default storage backend. For disposable test machines, you can explicitly choose the dir backend. It does not provide ZFS quotas, snapshots, or cloning:

sudo VPSMGR_STORAGE=dir ./install.sh

IPv6

IPv6 pass-through is disabled by default. Interactive installation offers three choices:

  • Prefix mode: the provider routes an entire IPv6 prefix to the host
  • Address-pool mode: the provider supplies separate IPv6 addresses, which an administrator adds in the admin panel
  • Disabled: IPv4 only

To check IPv6 reachability before installation:

bash check-ipv6-support.sh

Usage

vps add <name> [--cpu N] [--mem NG] [--disk NG] [--bandwidth N]
vps quota <name> [--cpu N] [--mem NG] [--disk NG] [--bandwidth N]
vps list [name]
vps power <name> start|stop|restart
vps passwd <name>
vps del <name>
vps panel-url
vps admin-passwd
vps config list|set|help

The default allocation is 1 CPU core, 1 GB of RAM, and 10 GB of disk. CPU values may be whole cores or a fraction from 0.1 to 0.9; disk capacity can only be increased. Generated passwords are shown once.

Bandwidth quotas are monthly GiB totals for upload and download combined. Containers over quota are rate-limited to 1 Mbps in both directions without a restart.

Users can define an init script in the panel. It runs as root inside the container after reinstall, with output written to /var/log/vpsmgr-init.log.

Additional Images

Debian 13 is the default image. To offer AlmaLinux 9 during reinstall, build it once:

sudo bash scripts/60-rhel-image.sh          # AlmaLinux 9

The image builder is not run by install.sh, keeping the default installation small.

Configuration and Removal

The configuration file is /etc/vpsmgr/config.yaml. Prefer the validated CLI over editing it directly:

vps config list
vps config help
vps config set <key> <value>
sudo ./uninstall.sh          # remove software, keep config, database, and containers
sudo ./uninstall.sh --purge  # also remove config, database, containers, storage, and Incus

See the documentation index for technical details.

Screenshots

Admin panel

User panel

S
Description
a panel to share lxc containers [开源]一键开小鸡切小鸡面板,共享v4独立v6小鸡,支持443无感共享,流量限制,自助重装!
Readme Apache-2.0
2.7 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 71.2%
HTML 14.7%
Shell 11.7%
JavaScript 2.4%