Some people have one fast internet connection. Others have five connections of assorted temperament — some ADSL, some Starlink — and a growing collection of opinions about all of them. This tool is for the second group, of which I am a founding member.
ChainLightning bonds several internet connections (ADSL, Starlink, LTE, fibre) into a single link. A client on your router and a server on a VPS each create a TUN interface, and traffic is spread across every WAN link in between. It has been public since 18 December 2025.
What it does about the temperament
• Adaptive rate control — timing-based congestion detection, with loss tracked separately for each direction.
• Four scheduling strategies — tiered fill, weighted round-robin, single best, pure round-robin.
• Flow classification — small flows go to the single best link; bulk transfers get everything.
• Automatic failover — a dead link is noticed within 5 seconds, its traffic redistributed, and it is welcomed back without ceremony when it recovers.
• Realtime priority — VoIP and game packets travel on the low-latency links only.
• YAML configuration, hot-reloadable, no recompiling.
The measurement
With five WAN links (three ADSL, two Starlink), as recorded in the repository: 198 Mbps download and 54 Mbps upload over four streams. From lines that, individually, would not impress anyone.
Linux on both ends, Rust 1.75 or newer. Licence: MIT.
• Source: github.com/cronos3k/chainlightning