![]() ![]() 2 Install the FlexiHub desktop app on both the client’s and the technician's computers. No WiFi trick was needed for this scenario. Here are a few steps to follow to establish a connection to remote vehicle testing tools using the FlexiHub software: 1 Create a FlexiHub account and start your free 7-day demo. Mothership devices were able to detect my remote iPhone and connect to it just fine. In order to work around this I first connect to the VPN over LTE and then connect to the hotspot.Ī pleasant surprise was that apps that use Bonjour worked out of the box. One caveat was that my Android device's Hotspot did not allow the iPhone to connect to the VPN for some reason. If you are at another place with WiFi I suppose this is not needed. When on the go, I carry an extra (Android) device which I use as a hotspot in order to bypass this limitation. The iPhone needs a WiFi to be connected in order to allow wireless debugging. Interestingly, I need to do that even when I am on my local WiFi so perhaps this step is not even needed in your case. In Xcode, I needed to go to Window > Devices and Simulators, right click on my device, click "Connect with IP address" and enter the iPhone's IP address in the VPN subnet (192.168.8.2 in my case). I didn't need to follow any additional steps for routed VPN or bridging. I had success just by following the standard OpenWRT "OpenVPN Server" guide ( ). Unfortunately, I cannot confirm that this works with any other VPN servers, but I can at least confirm that remote debugging over a VPN is possible. In any case, Xcode can see the iPhone when it is connected to the VPN server over Wi-Fi. Maybe the iPhone is only listening for messages from Xcode on its en0 interface, or maybe there is some check in place to ensure that the messages are not coming from one of its cellular data interfaces. I discovered with Wireshark that although the iPhone will receive the message from Xcode when you are connected to the VPN server using cellular data, the iPhone seems to ignore the messages, sending packets back to the server. I did install tuntap, but I think OpenVPN uses the default utun0 interface anyway, so it shouldn't matter.Īnyway, I did discover that this seemingly does not work if you are not on Wi-Fi. I don't believe any special setup was necessary on the server side-I installed openvpn from brew and followed a few different configuration guides closely to setup a routed VPN (apparently the iPhone won't handle TAP, which is needed for an ethernet bridged VPN). I managed to get this working on Mojave with OpenVPN and an iPhone 8 running iOS 12.4.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |