Comments (10)
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.
from react-native-ip-sec-vpn.
Any luck on this one ?
from react-native-ip-sec-vpn.
for iOS, it's using IKEv2. Tried the sample app in iOS Simulator but it didn't work.
from react-native-ip-sec-vpn.
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.
from react-native-ip-sec-vpn.
have you tried using IKEv2 instead of L2TP?
from react-native-ip-sec-vpn.
Well yeah, IKEv2 works with this easily.
from react-native-ip-sec-vpn.
did you fix your issue?
from react-native-ip-sec-vpn.
@syednytro can you please explain how you use IKEv2 in same npm package?
from react-native-ip-sec-vpn.
@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.
from react-native-ip-sec-vpn.
@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/
from react-native-ip-sec-vpn.
Related Issues (16)
- npm install not working in example folder HOT 1
- Router generated IKEv2 IPsec VPN
- Android application traffic bypasses VPN connection HOT 1
- Using proxy instead of VPN address HOT 3
- connect() method does not enter to try or catch. When pressed noting happens. HOT 2
- hide/ remove star icon when VPN connecting/ connected State on Notification Bar
- Only unreachable ,not working on android device !!! HOT 1
- Getting error react native 0.68 on android (Plugin with id βmavenβ not found. ) HOT 25
- Cannot read property 'prepare' of null and cannot read property 'VpnState' of undefined HOT 6
- Cannot install in React Native v73
- How to connect to specific port ? HOT 1
- Is it compatible with Expo SDK 39 + React native 0.63.3? HOT 2
- android device HOT 1
- AUTHENTICATION_FAILED HOT 3
- How to get current VPN state after connected and the app is killed or put in background HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-ip-sec-vpn.