Hasty Briefsbeta

Bilingual

Gnirehtet provides reverse tethering for Android

a year ago
  • #reverse-tethering
  • #adb
  • #android
  • Gnirehtet provides reverse tethering over adb for Android devices, allowing them to use the computer's internet connection without requiring root access.
  • It supports TCP and UDP over IPv4 but does not support IPv6. The project is not actively maintained, though major blockers are fixed.
  • Two implementations are available: Java (requires Java 8) and Rust (preferred for lower CPU and memory usage, no Java runtime needed).
  • The Android app requires at least API 21 (Android 5.0). A recent version of adb (1.0.36 or later) is necessary.
  • Installation involves downloading the appropriate version (Linux, Windows, or MacOS) and extracting the files. The Rust version is recommended.
  • Commands include `./gnirehtet run` for single-device tethering, `./gnirehtet autorun` for all devices, and separate commands for relay, install, start, stop, and tunnel operations.
  • Advanced options and manual commands are available for starting the relay server, installing the APK, and controlling clients.
  • Environment variables like `ADB` and `GNIREHTET_APK` can customize paths to adb and the APK.
  • The project is licensed under the Apache License 2.0.