Route a laptop's traffic through your phone's LTE or 5G connection to test how an app behaves on a mobile network
Use your phone as a cellular proxy on an untrusted Wi-Fi network so your laptop traffic exits over mobile data instead
Set up a password-protected SOCKS5 proxy that restarts automatically after your Android phone reboots
Some Android manufacturers require a background service exemption to prevent the proxy from being killed by battery optimization.
DataProxy is an Android app that turns your phone into a SOCKS5 proxy server, with the specific feature that all outbound traffic from the proxy is forced through the phone's cellular data connection rather than Wi-Fi. A SOCKS5 proxy is a type of network relay that other devices, such as a laptop or a TV box, can point their internet traffic through. With DataProxy running, those other devices connect to the proxy over Wi-Fi while their actual internet traffic exits through the phone's mobile data network. The main use case is for situations where you want to separate which network connection carries certain traffic. For example, if you are on a Wi-Fi network you do not trust, or if you want to test how something behaves specifically over a mobile connection, you can route a device's traffic through DataProxy to send it over LTE or 5G instead. The proxy does not require root access, does not set up a VPN, and does not affect any other apps running on the phone. The app shows live information including the carrier name, the current network generation (2G, 3G, 4G, or 5G), upload and download speeds, and a list of connected client devices. If the cellular connection drops, the proxy pauses automatically and resumes when data comes back. There is an optional auto-start feature so the proxy can restart itself after the phone reboots. You can also set a username and password for the proxy if you want to restrict who can connect. The app supports Android 8.0 and newer, is written in Kotlin using Jetpack Compose for the interface, and is available as a direct download from the releases section. It is open source under the MIT license. The README includes a section with guidance on preventing aggressive Android phone manufacturers from killing the background service.
← sir-mmd on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.