OpenVPNAdapter
OpenVPNAdapter copied to clipboard
Not Connected
Hello i am try to connect openVPN but not connected. can you please tell me how to call this PacketTunnelProvider class methods. i am using this code (https://medium.com/better-programming/how-to-build-an-openvpn-client-on-ios-c8f927c11e80)
And i am use to same username, password and .openVPN file in openVpn app so it will be connected.
Can you please help me hoe to connect in my code..
Add 'setenv CLIENT_CERT 0' to the ovpn configuration file.
Thank You @DrHazemAli
But i am open this .ovpn file in OpneVpn iOS app so it's running perfectly.
@DrHazemAli same issue iam facing for openVPn it is not connecting have you found any solution for that
Hi guys,
Logs and stepwise debugging are your friends. Use NSLog to output messages. Although, you won't see them in Xcode, you can use Console.app on your Mac to monitor log messages in realtime. Check thoroughly openvpn log, it may give you a clue. To debug the extension step by step you can use this workaround.
Hi @ss-abramchuk i have debugged my code my getting this error 2020-06-16 12:56:34.248889+0530 VPN.lat[1003:229417] [Process] kill() returned unexpected error 1 in my vpn server there is no user name and password like this where do i get this let options: [String : NSObject] = [ "username": "vpnbook" as NSString, "password": "6hm7hcb" as NSString ]
the file client.ovpn have some keys where do i get this and all that its my doubts