iPhone drops connection when plugged into Mac Pro

138 views
Skip to first unread message
Assigned to jkbu...@gmail.com by me

VPN00b

unread,
Aug 23, 2019, 4:51:16 PM8/23/19
to tunnelblick-discuss
Shortly after plugging my iPhone 6 (iOS 12.4) into my Mac Pro (MacOS Mojave 10.14.6) using the USB cable, my VPN-connected drive disconnects, even when the phone isn't connected to WiFi. If I connect it to wall charger, the connection doesn't drop. I don't have my iPhone listed in my Network options and purposefully removed it from the "Set Service Order" menu when I thought this might be the problem (based on this post: https://discussions.apple.com/thread/8373592).

Regardless of if the phone is on WiFi or not, when connected to a wall charger, the connection persists. 

This is my TunnelBlick (3.8.0 build 5370) OpenVPN configuration:

client

dev tap

proto udp

remote ###.###.###.### 12974

resolv-retry infinite

nobind

persist-key

persist-tun

ca ca.crt

cert client.crt

key client.key

cipher AES-128-CBC

comp-lzo

verb 5


Any help you can provide would be greatly appreciated as this hinders my ability to work remotely. 

Thank you.

Marc Herrmann

unread,
Aug 24, 2019, 7:33:40 AM8/24/19
to tunnelbli...@googlegroups.com
Hello,

what happens if you try to switch “hotspot off” in you iPhone and connect it via USB.

regards,
 Marc





--
You received this message because you are subscribed to the Google Groups "tunnelblick-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tunnelblick-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tunnelblick-discuss/2c853e05-1dc0-4a27-9f0c-56a77d6f863b%40googlegroups.com.

VPN00b

unread,
Aug 25, 2019, 5:02:22 PM8/25/19
to tunnelblick-discuss
Thanks for your reply. Hotspot is off on my phone, by default. 
To unsubscribe from this group and stop receiving emails from it, send an email to tunnelblick-discuss+unsub...@googlegroups.com.

Marc Herrmann

unread,
Sep 4, 2019, 2:10:06 PM9/4/19
to tunnelbli...@googlegroups.com
ok, if your hotspot is OFF , try " netstat -r
“ as root before the connection drop’s and too after it drops  …

Send the output to my email - if you like - i will try to check ...

To unsubscribe from this group and stop receiving emails from it, send an email to tunnelblick-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tunnelblick-discuss/60e7cef7-5086-446d-97d7-27eb3c7e103a%40googlegroups.com.

vpn00b

unread,
Sep 19, 2019, 12:33:28 PM9/19/19
to tunnelblick-discuss
Thanks for your help, Marc.

Here's the netstat log before the connection drops:









Routing tables




Internet:


Destination        Gateway            Flags        Refs      Use   Netif Expire


default            192.168.0.1        UGSc           98        0     en1      


127                localhost          UCS             0        0     lo0      


localhost          localhost          UH              3     4757     lo0      


169.254            link#14            UCS             1        0     en1      !


169.254            link#18            UCSI            0        0    tap0      !


169.254.232.177    0:c:29:5a:3:e3     UHLSW           0        0     en1      !


192.168.0          link#14            UCS             1        0     en1      !


192.168.0.1/32     link#14            UCS             2        0     en1      !


192.168.0.1        d4:4:cd:fb:61:f3   UHLWIir        23        0     en1   1195


192.168.0.2/32     link#14            UCS             0        0     en1      !


192.168.0.6        18:f6:43:76:19:16  UHLWIi          2        3     en1   1162


192.168.1          link#18            UCS             3        0    tap0      !


192.168.1.9        6c:ad:f8:45:6b:84  UHLWIi          1       22    tap0   1161


192.168.1.11/32    link#18            UCS             1        0    tap0      !


192.168.1.130      0:24:e8:a:6d:c9    UHLWIi          3      797    tap0   1176


192.168.1.255      ff:ff:ff:ff:ff:ff  UHLWbI          0        5    tap0      !


224.0.0/4          link#14            UmCS            2        0     en1      !


224.0.0/4          link#18            UmCSI           0        0    tap0      !


224.0.0.251        1:0:5e:0:0:fb      UHmLWI          0        0     en1      


239.255.255.250    1:0:5e:7f:ff:fa    UHmLWI          0      312     en1      


255.255.255.255/32 link#14            UCS             0        0     en1      !


255.255.255.255/32 link#18            UCSI            0        0    tap0      !




Internet6:


Destination        Gateway            Flags         Netif Expire


default            fe80::%utun0       UGcI          utun0      


localhost          localhost          UHL             lo0      


fe80::%lo0         fe80::1%lo0        UcI             lo0      


fe80::1%lo0        link#1             UHLI            lo0      


fe80::%en1         link#14            UCI             en1      


fe80::3f:f2ea:907c 54:4e:90:83:ee:6f  UHLWIi          en1      


idon.local         18:f6:43:76:19:16  UHLWI           en1      


mac.local          0:25:0:ef:ea:a0    UHLI            lo0      


fe80::%utun0       mac.local          UcI           utun0      


mac.local          link#16            UHLI            lo0      


ff01::%lo0         localhost          UmCI            lo0      


ff01::%en0         link#13            UmCI            en0      


ff01::%en1         link#14            UmCI            en1      


ff01::%utun0       mac.local          UmCI          utun0      


ff02::%lo0         localhost          UmCI            lo0      


ff02::%en0         link#13            UmCI            en0      


ff02::%en1         link#14            UmCI            en1      


ff02::%utun0       mac.local          UmCI          utun0  




Here's the netstat log after the connection drops:









Routing tables




Internet:


Destination        Gateway            Flags        Refs      Use   Netif Expire


default            192.168.0.1        UGSc           90        0     en1      


127                localhost          UCS             0        0     lo0      


localhost          localhost          UH              3     4881     lo0      


169.254            link#14            UCS             1        0     en1      !


169.254.232.177    0:c:29:5a:3:e3     UHLSW           0        0     en1      !


192.168.0          link#14            UCS             2        0     en1      !


192.168.0.1/32     link#14            UCS             3        0     en1      !


192.168.0.1        d4:4:cd:fb:61:f3   UHLWIir        14        0     en1   1189


192.168.0.2/32     link#14            UCS             0        0     en1      !


192.168.0.6        18:f6:43:76:19:16  UHLWIi          2        2     en1   1160


192.168.0.255      ff:ff:ff:ff:ff:ff  UHLWbI          0        2     en1      !


224.0.0/4          link#14            UmCS            2        0     en1      !


224.0.0.251        1:0:5e:0:0:fb      UHmLWI          0        0     en1      


239.255.255.250    1:0:5e:7f:ff:fa    UHmLWI          0      312     en1      


255.255.255.255/32 link#14            UCS             0        0     en1      !




Internet6:


Destination        Gateway            Flags         Netif Expire


default            fe80::%utun0       UGcI          utun0      


localhost          localhost          UHL             lo0      


fe80::%lo0         fe80::1%lo0        UcI             lo0      


fe80::1%lo0        link#1             UHLI            lo0      


fe80::%en1         link#14            UCI             en1      


fe80::3f:f2ea:907c 54:4e:90:83:ee:6f  UHLWIi          en1      


idon.local         18:f6:43:76:19:16  UHLWIi          en1      


mac.local          0:25:0:ef:ea:a0    UHLI            lo0      


fe80::%utun0       mac.local          UcI           utun0      


mac.local          link#16            UHLI            lo0      


ff01::%lo0         localhost          UmCI            lo0      


ff01::%en0         link#13            UmCI            en0      


ff01::%en1         link#14            UmCI            en1      


ff01::%utun0       mac.local          UmCI          utun0      


ff02::%lo0         localhost          UmCI            lo0      


ff02::%en0         link#13            UmCI            en0      


ff02::%en1         link#14            UmCI            en1      


ff02::%utun0       mac.local          UmCI          utun0      

Message has been deleted

Marc Herrmann

unread,
Sep 22, 2019, 4:12:21 AM9/22/19
to tunnelbli...@googlegroups.com
Hi,

i tested the same setup with my MAC (Mojave 10.14.6) my iPhone (iOS 13) with personal-hotspot turned off and Tunnelblick 3.8.1 (build 5400).

I had NO vpn-connection issues when connecting the iPhone.

The routing-table also remained stable, the main difference between your setup and mine was, that you are using “tap” and i use “tun”.

Did you already try to use tun instead of tap ?

regards,
 Marc




-- 
You received this message because you are subscribed to the Google Groups "tunnelblick-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tunnelblick-dis...@googlegroups.com.

VPN00B

unread,
Sep 23, 2019, 2:09:06 PM9/23/19
to tunnelblick-discuss
Thank you for your help, Marc.

I changed "dev tap" to "dev tun" and it connects, but I can't mount any of the drives.
(Side-note: I also get a warning about "comp-lzo" being deprecated.)

A friend recommended I switch to Cisco routers as it may be a hardware issue.

conf.png



To unsubscribe from this group and stop receiving emails from it, send an email to tunnelblick-discuss+unsubscri...@googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups "tunnelblick-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tunnelblick-discuss+unsubscri...@googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups "tunnelblick-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tunnelblick-discuss+unsub...@googlegroups.com.

Marc Herrmann

unread,
Sep 24, 2019, 3:40:05 PM9/24/19
to tunnelbli...@googlegroups.com
Hi,


did you have the same problem of disconnection while using tun instead of tap ?

regards,
 marc


On 23. Sep 2019, at 20:09, VPN00B <dcita...@gmail.com> wrote:

Thank you for your help, Marc.

I changed "dev tap" to "dev tun" and it connects, but I can't mount any of the drives.
(Side-note: I also get a warning about "comp-lzo" being deprecated.)

A friend recommended I switch to Cisco routers as it may be a hardware issue.

To unsubscribe from this group and stop receiving emails from it, send an email to tunnelblick-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tunnelblick-discuss/3a84843a-34f2-4b26-8983-6f326b808397%40googlegroups.com.
<conf.png>

VPN00B

unread,
Sep 25, 2019, 11:13:20 AM9/25/19
to tunnelblick-discuss
I can't connect to any drives with tun, so I don't know if they'd have the same problem of disconnection (when the iPhone is connected to the MacPro).

Eric Veilleux

unread,
Nov 12, 2020, 11:24:20 AM11/12/20
to tunnelblick-discuss
Same issue for 2 mac for us. one is at version 10.15.5 and the other 10.15.7. One iphone is on IOS 14.1 and the other is on 13.5.1. Also happen when we plug an ipad. The hotspot is off and the config is already set to 'dev tun'. I can upload more info if needed 

Andrey Filipenkov

unread,
Apr 7, 2021, 2:24:33 PM4/7/21
to tunnelblick-discuss
also facing this issue, really annoying. Tun instead of tap didn't help.

Levente Nagy

unread,
Sep 19, 2023, 10:17:21 AM9/19/23
to tunnelblick-discuss
Hello guys,

Same issue on my mac, is there any update or fix?
Reply all
Reply to author
Forward
0 new messages