Skip to content

W-UISell VPN by the gigabyte

The classic panel layout, with the same pages, menus and management script. The difference is that the kernel enforces each data limit, not a program reading a counter every few seconds.

W-UI

Why another panel? ​

What W-UI does differently

The difference is where the limit is enforced.

Most panels read a byte counter every second or two and cut the customer off once the number passes their quota. Between two readings the customer keeps downloading at full speed: about 25 MB over the quota on a 100 Mbit line, about 250 MB on a gigabit one.

W-UI hands the limit to the kernel as a quota object in nftables. Whatever the line speed, the overshoot is one packet.

→ How it works

Install with one command ​

bash
bash <(curl -Ls https://raw.githubusercontent.com/AbolfazlTafakori/w-ui/main/install.sh)

The installer first asks whether to install manually or automatically. The automatic install asks three questions (the database, a domain, a certificate) and does the rest on its own: the packages and every protocol, kernel forwarding, a check that this server's kernel supports quotas, a service account without root, a hardened systemd unit, the certificate, and the w-ui command. At the end it shows the panel's address, the username and the password.

After the install

When it finishes, the panel is reachable over HTTPS and the w-ui command works on the server. What to do next

Released under the AGPL-3.0 License.