Gnirehtet
Gnirehtet provides reverse tethering for Android
...It supports GNU/Linux, Windows, and macOS, and it relays TCP and UDP traffic over IPv4, giving it broad usefulness for app testing and device connectivity scenarios. The project includes both Rust and Java implementations, with the Rust version recommended because it uses less CPU and memory and does not require a Java runtime.