2 ms·
The android ADB debugging protocol includes the ability to forward UNIX sockets over the usb link, so your phone has this facility built in. http://developer.a
by JonnieCache 16y ago
The android ADB debugging protocol includes the ability to forward UNIX sockets over the usb link, so your phone has this facility built in.
http://developer.android.com/guide/developing/tools/adb.html#forwardports http://developer.android.com/guide/developing/tools/adb.html...
Unless I have misunderstood the adb docs, it shouldnt be too hard to set up, even though it only seems to allow ports to be forwarded from the host to the phone, rather than the other way around. Nimble use of netcat/iptables should remedy this.
EDIT: people seem to be calling it "reverse tethering" and while it involves the adb, it doesnt use the port forwarding. See: http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html http://blog.mycila.com/2010/06/reverse-usb-tethering-with-an...