libusbmuxd icon indicating copy to clipboard operation
libusbmuxd copied to clipboard

Add option to bind iproxy socket to 0.0.0.0

Open NickAb opened this issue 7 years ago • 1 comments
trafficstars

Executing iproxy LOCAL_TCP_PORT DEVICE_TCP_PORT will bind LOCAL_TCP_PORT to localhost only.

Make an optional flag to bind to 0.0.0.0 so that the port will be exposed and accessible by other hosts. This is useful to build small device-farm, where all devices connected to one host and other hosts are used to run tests, etc. on devices connected remotely.

Current solution we use is socat

socat tcp-listen:LOCAL_TCP_PORT,reuseaddr,fork tcp:0.0.0.0:LOCAL_TCP_PORT

But this requires extra dependencies to be installed on host and managing extra process per port.

NickAb avatar Jun 21 '18 08:06 NickAb

A PR to fix this issue #74 which enables accepting connections from other machines in network.

dispatchMain avatar Aug 16 '19 04:08 dispatchMain

Support for this was added with commit https://github.com/libimobiledevice/libusbmuxd/commit/910166b3d67652abb54dece7e1cacdc9dcfdb659.

nikias avatar Apr 22 '23 09:04 nikias