From The Apple Wiki

macOS Software developed by novi to open TCP connections (TCP tunnels) between your iPhone / iPod touch and Mac via USB cable. This can be used in case WiFi connection is not available. Currently not working with iPhone OS 3.0 and iTunes 8.2.x

A MS Windows Software featuring a more or less similar functionality called iPhone Tunnel suit is available as well.

iPhoneTunnel for macOS does no longer work with macOS Monterey 12.3 beta and newer due to the removal of Python 2. You can use iproxy instead.