Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-shared key #4

Open
jeromefurog opened this issue Nov 11, 2020 · 10 comments
Open

Pre-shared key #4

jeromefurog opened this issue Nov 11, 2020 · 10 comments

Comments

@jeromefurog
Copy link

Hi,

I'm using L2TP/IPsec servers and would like to know if we need to supply the pre-shared key for this library.

@syednytro
Copy link

Any luck on this one ?

@jeromefurog
Copy link
Author

for iOS, it's using IKEv2. Tried the sample app in iOS Simulator but it didn't work.

@syednytro
Copy link

I don't think simulator can connect to a vpn. I'm using android physical device and can't find any option to provide preshared key as it is now required by all the providers.

@jeromefurog
Copy link
Author

have you tried using IKEv2 instead of L2TP?

@syednytro
Copy link

Well yeah, IKEv2 works with this easily.

@jeromefurog
Copy link
Author

did you fix your issue?

@syednytro
Copy link

Kind of. After a lot of research I found out IPSec has been removed/hidden from the sdk in newer android versions and can only be added manually.
So I used IKEv2.

@me-saeed
Copy link

me-saeed commented May 8, 2021

@syednytro can you please explain how you use IKEv2 in same npm package?

@syednytro
Copy link

@me-saeed by just passing the hostname, username & password, but it doesn't always work. The authentication part is handled by the server. The server is was working with allowed me to connect with these three option only.

@yasirwahid
Copy link

yasirwahid commented Dec 7, 2021

@syednytro i cant seem to authenticate in android (server is unreachable). and in ios connect function doesnt do anything. is there some extra configuration for ios?
im using these ipsec vpn for testing https://www.vpngate.net/en/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants