osy / Jitterbug

Launch JIT enabled iOS app with a second iOS device
Apache License 2.0
1.05k stars 84 forks source link

A way to stop the VPN tunnel from the app #55

Open fomalsd opened 2 years ago

fomalsd commented 2 years ago

Thanks for the app!

Self-debugging starts a VPN tunnel but apparently never stops it. Unfortunately VPN interferes with things like AirDrop and Universal Control.

It would be nice if there was a "Stop/Unpair" button ("Clear Pairing" doesn't stop the VPN) Or stopping the tunnel automatically when the debugged app is closed (if there's a way to detect that) without having to go into VPN settings each time.

JJTech0130 commented 2 years ago

Hmmm... shouldn't even need to wait for the app to close, right? Pretty sure that JIT remains enabled even after the debugger disconnects. So you could theoretically enable the VPN, connect the debugger, and then disconnect it immediately.

fomalsd commented 2 years ago

Yeah, you can still go into settings and disable VPN manually but it would be nice if Jitterbug itself would handle that