openvpn_flutter icon indicating copy to clipboard operation
openvpn_flutter copied to clipboard

IOS connection is not working

Open DieOfCode opened this issue 1 year ago • 22 comments

I have this problem

flutter: VPNStage.disconnected flutter: VPNStage.connecting flutter: VPNStage.disconnecting flutter: VPNStage.disconnected

but i used working config and clearly followed the installation points of the plugin

DieOfCode avatar Apr 04 '23 08:04 DieOfCode

i have also facing the same issue, is any solution???

MtechiTsolution avatar Jul 05 '23 04:07 MtechiTsolution

i have also facing the same issue ,how to do

James-bitoss avatar Apr 13 '24 02:04 James-bitoss

Do not use this plugin. It uses a deprecated library for the connection.

It is better to implement your own plugin for connection using.

https://github.com/passepartoutvpn/tunnelkit

I solved this problem exactly like this.

DieOfCode avatar Apr 14 '24 20:04 DieOfCode

Hi, i am solved ios vpn connection issue, make sure your .opvn file correctly write in your iOS device, and check the App proxy, DNS Proxy, Content filter also. Because to connect the vpn file in iOS need the correct path and DNS proxy. Add the info.plist file:

ITSAppUsesNonExemptEncryption LSSupportsOpeningDocumentsInPlace UIFileSharingEnabled com.apple.security.files.downloads.read-write com.apple.security.network.client

In my end, now vpn is working fine.

gurpreetkaur1998 avatar Apr 22 '24 06:04 gurpreetkaur1998

@gurpreetkaur1998 Can I contact with you please?

hasanbayazid avatar Jun 24 '24 11:06 hasanbayazid

@hasanbayazid yes.

gurpreetkaur1998 avatar Jun 24 '24 11:06 gurpreetkaur1998

@hasanbayazid, please share vpn issue which is facing on running time or compile time.

gurpreetkaur1998 avatar Jun 24 '24 12:06 gurpreetkaur1998

I am using openvpn package not connect on IOS

On Mon, Jun 24, 2024 at 6:43 PM Gurpreet Kaur @.***> wrote:

@hasanbayazid https://github.com/hasanbayazid, please share vpn issue which is facing on running time or compile time.

— Reply to this email directly, view it on GitHub https://github.com/nizwar/openvpn_flutter/issues/72#issuecomment-2186491908, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFBFVMY2QZP4TMY5BPH3LATZJAH6XAVCNFSM6AAAAAAWSK3U46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWGQ4TCOJQHA . You are receiving this because you were mentioned.Message ID: @.***>

hasanbayazid avatar Jun 25 '24 06:06 hasanbayazid

@hasanbayazid, please share screenshot.

gurpreetkaur1998 avatar Jun 25 '24 06:06 gurpreetkaur1998

Can you share with me the working code which If I compile that can perfectly work on ios? I don't face any error on the console when clicking on the connect button it always shows disconnected.

On Tue, Jun 25, 2024 at 12:51 PM Gurpreet Kaur @.***> wrote:

@hasanbayazid https://github.com/hasanbayazid, please share screenshot.

— Reply to this email directly, view it on GitHub https://github.com/nizwar/openvpn_flutter/issues/72#issuecomment-2188116942, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFBFVMYU7M4A3QOZHA7AHQLZJEHQZAVCNFSM6AAAAAAWSK3U46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGEYTMOJUGI . You are receiving this because you were mentioned.Message ID: @.***>

hasanbayazid avatar Jun 25 '24 07:06 hasanbayazid

If vpn not connected properly, then check the App proxy in the Network Extension both Runner and VpnExtension. After that connect again.

gurpreetkaur1998 avatar Jun 25 '24 07:06 gurpreetkaur1998

I have checked by documentation. do you have any demo or can do a meeting please help for connect with ios properly

hasanbayazid avatar Jun 25 '24 07:06 hasanbayazid

@hasanbayazid Plugin documentation not mentioned about app proxy in the network extension, but if you check apple official documentation, to connect vpn in iOS devices, they included to check app proxy, because app proxy provides passes private network traffic over that connection.

gurpreetkaur1998 avatar Jul 02 '24 12:07 gurpreetkaur1998

Ok, thanks for the clarification. I am trying to fix it

On Tue, Jul 2, 2024 at 6:05 PM Gurpreet Kaur @.***> wrote:

@hasanbayazid https://github.com/hasanbayazid Plugin documentation not mentioned about app proxy in the network extension, but if you check apple official documentation, to connect vpn in iOS devices, they included to check app proxy, because app proxy provides passes private network traffic over that connection.

— Reply to this email directly, view it on GitHub https://github.com/nizwar/openvpn_flutter/issues/72#issuecomment-2202991917, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFBFVMZ2PURNXAWOYKUCCDTZKKJQFAVCNFSM6AAAAAAWSK3U46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBSHE4TCOJRG4 . You are receiving this because you were mentioned.Message ID: @.***>

hasanbayazid avatar Jul 04 '24 06:07 hasanbayazid

@gurpreetkaur1998 can you help me with that, how can I contact you if I want to have meeting with you to help me solve this problem ?

Sari-Belouni avatar Jul 17 '24 18:07 Sari-Belouni

@Sari-Belouni @hasanbayazid which time u able to contact.

gurpreetkaur1998 avatar Jul 18 '24 03:07 gurpreetkaur1998

any time just give your contact info please

On Thu, Jul 18, 2024 at 9:29 AM Gurpreet Kaur @.***> wrote:

@Sari-Belouni https://github.com/Sari-Belouni @hasanbayazid https://github.com/hasanbayazid which time u able to contact.

— Reply to this email directly, view it on GitHub https://github.com/nizwar/openvpn_flutter/issues/72#issuecomment-2235243517, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFBFVM3JE75JHERIYZHMTFDZM4ZDNAVCNFSM6AAAAAAWSK3U46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZVGI2DGNJRG4 . You are receiving this because you were mentioned.Message ID: @.***>

hasanbayazid avatar Jul 18 '24 04:07 hasanbayazid

contact with gmeet([email protected])

gurpreetkaur1998 avatar Jul 18 '24 04:07 gurpreetkaur1998

@gurpreetkaur1998 @hasanbayazid ([email protected]) please contact me to make google meet

Sari-Belouni avatar Jul 18 '24 20:07 Sari-Belouni

@gurpreetkaur1998 @hasanbayazid lets do it tomorrow 3pm Germany time, I will send you google meet

Sari-Belouni avatar Jul 18 '24 23:07 Sari-Belouni

@Sari-Belouni , @hasanbayazid i will share google meet link Monday 9pm India time.

gurpreetkaur1998 avatar Jul 19 '24 12:07 gurpreetkaur1998

@Sari-Belouni , @hasanbayazid i will share google meet link Monday 9pm India time.

where you will share it, its not better to invite our email to it

Sari-Belouni avatar Jul 19 '24 13:07 Sari-Belouni