GameDev.Tech
games & tools, built in Rust
You are visitor visitor count a nostalgic skin of gamedev.tech
<< NAVIGATION >>
* Modern site
* Games
* Tools
* Devlog
* Benchmark

Under Construction
Best viewed in
Netscape Navigator
@ 800x600
ChainLightning: five internet connections walk into a tunnel

2026-11-24

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

<< back to devlog
Valid HTML 4.01 Made with Notepad Best in Netscape

Copyright (c) 2026 cronos3k - GameDev.Tech - hand-coded by a Rust generator - best viewed @ 1024x768
*** Welcome to GameDev.Tech !!!   the games are bleeding-edge Rust/WASM, the homepage is gloriously 1999   ***   visit the modern site   ***