ss-abramchuk / OpenVPNAdapter

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

whether openVPNReachability is checking the iPhone Reachability to public ip or vpn server ip? #115

Closed hungrytocode closed 5 years ago

hungrytocode commented 5 years ago

@ss-abramchuk hi ss-abramchuk! Thanks for your crazy framework!

in my case, I want to know whether openVPNReachability is checking the iPhone Reachability to public ip or vpn server ip? can you help me?

ss-abramchuk commented 5 years ago

Hi @hungrytocode, neither of them. It just checks which network interface is available. You can find implementation details at openvpn/apple/reachable.hpp