establish vpn connection android-ThrowExceptions

Exception or error:

I already have OCSERV VPN SERVER , and it is working fine, but what I want to do is to develop my own vpn android application, I have read a lot of articles and resources about this idea, but I don’t understand how can I establish vpn connection
let’s say that I have

10.10.10.10

VPN server, and I have to connect to this server using

username: test 
Password:test  

there are some points which I don’t understand like some android apps using profile or file, but I just want to send VPN request to the server using username and password, the vpns server will make authentication and reply with accept/Reject Response
if you have any resources or open-source code that not very complicated please send me it ,
I saw a lot of opensource codes but they were very complicated for me

How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *