ss-abramchuk / OpenVPNAdapter

Objective-C wrapper for OpenVPN library. Compatible with iOS and macOS.
GNU Affero General Public License v3.0
482 stars 215 forks source link

iOS 13 issue - DNS does not apply when switches Cellular Data -> WiFi or WiFi -> Cellular Data. #143

Closed tugsjargal1 closed 5 years ago

tugsjargal1 commented 5 years ago

Hi @ss-abramchuk,

I having an issue on new iOS 13. DNS settings are not applied when switch Cellular Data -> WiFi or WiFi -> Cellular Data. Do you have any suggestion for this case ?

Thank you.

ms-tii commented 5 years ago

@tugsjargal1 Hi, Did you find any solution for this ? I am also facing same issue in iOS 12 also. Everthing is connected (LTE & VPN) but internet is not working. Receiving this message in logs :-

UDP send exception: Send: Can't assign requested address Transport Error: EADDRNOTAVAIL: can't assign requested address.

When I manually disable VPNonDemand from device's settings and enable again it. Internet starts working.

tugsjargal1 commented 5 years ago

This issue has been resolved. I have replaced method [Reconnect] by [Disconnect] + [Connect].

@ms-tii You need to check your server side settings.