Varsh turns a Linux laptop into a managed internet gateway. Your other devices join the same Wi-Fi and use the laptop as their gateway. The laptop forwards their traffic, and Varsh decides who gets through, how fast and how much.
It works inside the kernel’s own firewall. Varsh keeps a single nftables table that records which devices actually send traffic through the laptop, counts every byte per device, and applies blocks, schedules and speed limits right where packets are forwarded. A small daemon reads those counters every three seconds and keeps hourly usage in SQLite.
Everything runs locally with no dependencies: the Python standard library, nftables and ip. Nothing is downloaded and nothing loads from a CDN, so the console keeps working even when the connection upstream does not.