iw4p / OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv

[Script and Docker 🐳] OpenConnect (Cisco AnyConnect) VPN Server (OCServ) script one key easy configurator and installer
255 stars 133 forks source link

Question: how to connect with android device to the server? #11

Closed Arsalan0098 closed 1 year ago

Arsalan0098 commented 1 year ago

Hello man, I set the VPN server up and I am able to connect to it with OpenConnect application. now I was wondering how can I connect to the server with android devices? Thanks

iw4p commented 1 year ago

Hello, Read the README carefully. I mentioned that you can use AnyConnect client.

Arsalan0098 commented 1 year ago

Thank you man, I could connect to the server via AnyConnect now but there is no internet connection.

iw4p commented 1 year ago

You're welcome. First of all, make sure you can ping your server through your current internet network (without VPN) and be assured the ocserv configured successfully, and it works fine on at least one device (It can be your laptop or mobile phone). After that, if you are confident it configured fine, you can understand that the problem is client. Also, I suggest you to try configuring ocserv via Docker instruction, which is added yesterday. Then, try other clients and search for OpenVPN clients or ocserv clients like this.

Arsalan0098 commented 1 year ago

I did download the application you shared and as soon as i click on connect, application will get closed (without error or anything). I am using the same net as my pc and i have ping on my mobile device.

iw4p commented 1 year ago

May I know how did you configure it? By dockerfile or script?

goonzchief commented 1 year ago

Same problem here! I did install the ocserv by script and, it does connect to vpn by PC BUT it doesn't connect when I try it with Android Devices!!! can you help us we are stuck in a very bad situation

iw4p commented 1 year ago

Try OpenConnect on Android. Or share the PC’s VPN if you’re using win 10 or 11, or use Connectify if you’re using windows 8 or older versions.

Sent from Proton Mail for iOS

On Sun, Oct 23, 2022 at 2:27 AM, Head of Goons @.***> wrote:

Same problem here! I did install the ocserv by script and, it does connect to vpn by PC BUT it doesn't connect when I try it with Android Devices!!! can you help us we are stuck in a very bad situation

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>