SUMMARY Title. STEPS TO REPRODUCE 1. Set up KDE Connect. 2. Plug in a usable SIM card. 3. Turn off Wi-fi and connect to mobile data. 4. Connect to a VPN with all paired devices present. OBSERVED RESULT Nothing happened. EXPECTED RESULT KDE Connect seeks paired devices over the VPN connection and connects if found. SOFTWARE/OS VERSIONS Android 13 ADDITIONAL INFORMATION This should be an opt-in option, since many VPNs purely acts as a relay for address masking. Ideally, the user should be able to set a whitelist of allowed VPNs.
*** Bug 472967 has been marked as a duplicate of this bug. ***
I warmly second this feature/bug request. I often connect to my router VPN and would like to send files or commands to my linux machines.
I want to note that there is a similar issue here: KDEConnect fails to connect on a mesh VPN (overlay network) even with a manually added peer using a fixed IP. While this might not be the exact same bug, I suspect the underlying problem is similar. KDEConnect seems to be hardcoded to sending/listening packets only on the Wi-Fi interface. When using a mesh VPN, a virtual interface is created on the phone that differs from the standard wireless interface. While network traffic is typically routed automatically to utilize the virtual interface for outbound communication, KDEConnect appears to bypass this routing and remains fixated on the wireless interface. If KDEConnect could be adapted to send packets through other interfaces, the connection should just function as expected.