DEV Community

iPad Sidecar Issues Over USB with VPN

Bob Matcuk on February 03, 2020

When I'm working away from home, I like to use my iPad as a second monitor using Apple's "sidecar" feature. However, I noticed that, if the wifi ne...
Collapse
 
fpejril profile image
Frank Pejril

I had a similar but opposite issue, but your solution completely fixed it! What would happen is I would have my iPad connected to my MacBook via USB-C to use sidecar, and I could successfully connect to my company VPN (through which I route all traffic), but my traffic would not be routed correctly. Any time I would try to initiate SSH or MySQL clients that would require tunneling via our VPN IP, the clients would simply not connect unless I first disconnected sidecar and disabled/re-enabled VPN. Basically I could not use wired sidecar and VPN at the same time.

However, unchecking "Disable IPv6 unless the VPN server is accessed using IPv6" in Tunnelblick has completely fixed this issue!

Collapse
 
joshpuetz profile image
Josh Puetz

Ooh, great catch! I'm really surprised that running SideCar over USB also hits this issue!

Collapse
 
xji profile image
Xiang Ji

Thanks! For Mullvad VPN I had to enable "Local network sharing" which allows access to other devices on the local network, then it worked : )

Collapse
 
hellomihai profile image
hellomihai • Edited

🙌 Excellent idea! Confirmed this also works with Cisco Secure Client (AnyConnect VPN) > settings > allow local (lan) access when using VPN