← Our projects

adnt-net-edge

Lightweight edge tunnel (Ngrok-like) combining SSH and Traefik on a small VPS to expose a local HTTP service over HTTPS via Let's Encrypt, with dynamic configuration and automated deployment.

· 1 min read
adnt-net-edge

adnt-net-edge is a lightweight edge tunnel written in Rust that combines SSH and Traefik to expose a local HTTP service over HTTPS via Let’s Encrypt from a small VPS — a self-hosted alternative to Ngrok.

Key features:

  • SSH reverse tunnel with keepalive and automatic remote port allocation
  • Dynamic Traefik configuration generation (Host / PathPrefix rules, optional stripPrefix)
  • One-shot Traefik deployment on the VPS as a Docker container (host network) with ACME TLS
  • Graceful shutdown (Ctrl+C) that stops Traefik and cleans temporary files on the remote host
  • Simple one-liner usage: cargo run -- --url https://prod.example.com/app --port 8080 --traefik-acme-email you@example.com

The project is unit-tested via GitHub Actions (fmt, tests, tarpaulin coverage ≥ 90% on Linux, fmt + tests on Windows). GPL-3.0-or-later license.