How can I enable port forwarding during USB tethering?
I know there are plenty of apps available for this. but i want to know is there any method available to perform this without installing an app and also without rooting the device? Target machine is running with Android 4.0.4, obviously not rooted. Thank you.
P.S. I am trying to host a server on a PC connected to internet via Android device(USB tethered). I want my Android device to forward incoming TCP requests to particular port on the host machine.
adb forward tcp:6100 tcp:7100
(source). Also, could you update your question to include: what version of Android you're using, are you rooted, are you willing to root, what your objective is, and any other pertinent info that might help us help you. :)