Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to forward just one device connection from usbmuxd #105

Open
harrain opened this issue Dec 14, 2020 · 3 comments
Open

Is there a way to forward just one device connection from usbmuxd #105

harrain opened this issue Dec 14, 2020 · 3 comments

Comments

@harrain
Copy link

harrain commented Dec 14, 2020

When I use socat to forward /var/run/usbmuxd to tcp port:

socat TCP-LISTEN:1234,reuseaddr,fork UNIX-CONNECT:/var/run/usbmuxd

It will transfer all ios devices. Is there and way to transfer just one device ???

I want to share my ios device via internet, but I just want to share only 1 device for 1 client.

@mexmer
Copy link

mexmer commented Dec 14, 2020

no, because you forwarding connection to USBMUXD, not to device.

usbmuxd forwards individual TCP sockets from device, but there is only 1 socket open on device all time, and that is lockdown service, other sockets will open, when you start service on device, and it will open at random port. so you will need to create new forward each time service socket is opened on device.

@harrain
Copy link
Author

harrain commented Dec 21, 2020

So how to create new forward from LOCKDOWN service?appreciate

@mexmer
Copy link

mexmer commented Dec 21, 2020

you need to write your own service, that will do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants