VPN Network Unconfigured Connecting iPhone or iPad over USB

Got a problem with Viscosity or need help? Ask here!

Bryan

Posts: 6
Joined: Wed Apr 12, 2023 5:58 am

Post by Bryan » Thu Apr 20, 2023 2:07 am
This may be a problem with MacOS but I figure I'd report it here first since there may be a setting that I'm unaware of that would fix this. I've confirmed this happens on two separate devices and two types of handhelds. Connecting to the VPN works and the correct settings are present from DHCP: IP Address, Routes, DNS Resolvers.

After plugging in a handheld device all of those settings disappear and MacOS now has two extra network interfaces. The VPN tunnel appears to be connected still though but since the interface has been unconfigured the connection does not function.

MacOS Ventura 13.2.1
Mac Mini M1 / MacBook Pro Intel
Viscosity 1.10.5 (1626)
OpenVPN Server 2.5.1-3 (debian 11)

Thanks

James

User avatar
Posts: 2361
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Sat Apr 22, 2023 8:10 pm
Hi Bryan,

I recommend giving the latest beta version a try and see if you encounter the same thing. It has some improvements for similar situations on macOS 13.
https://www.sparklabs.com/support/kb/ar ... -versions/

If you're still running into the same issue, and would like us to take a closer look and see whether anything can be done from your VPN connection's perspective, please send along the details listed in the following article and we'll take a closer look. You may prefer to send these via email rather than posting publicly.
https://www.sparklabs.com/support/kb/ar ... ort-staff/

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

Bryan

Posts: 6
Joined: Wed Apr 12, 2023 5:58 am

Post by Bryan » Thu Apr 27, 2023 11:44 am
The beta was causing random and frequent disconnects so I downgraded back to stable. However, I am still seeing this weird behavior even when not plugging in another Apple device.

Seems random so far, sometimes I'll be connected for hours and other times it happens seconds after I connect. The only indicator in the logs with "verb 5" set is:

2023-04-26 09:53:13: DNS change detected, restoring DNS settings

But in fact, the DNS settings are gone with the rest of them.

James

User avatar
Posts: 2361
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Thu May 11, 2023 2:12 am
Hi Bryan,

We're working on putting an updated beta build together to hopefully address this. It should be available soon - please keep an eye out for it.

However I should add that there will be instances where Viscosity is unable to maintain the VPN connection when connecting a new underlying network connection: if the new connection has a higher Service Order (in System Settings) than your existing network connection, it may cause the VPN connection to disconnect or drop out as the encrypted VPN connection traffic may have been interrupted or is now travelling over a different network interface. Some setups will handle this fine (UDP and IP floating enabled on the OpenVPN server), however others may not.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
4 posts Page 1 of 1