sijav / react-native-ip-sec-vpn Goto Github PK
View Code? Open in Web Editor NEWReact Native IPSec VPN Module
License: MIT License
React Native IPSec VPN Module
License: MIT License
Thanks for creating such amazing project! With little effort I can connect to my VPN server.
After connected, then I killed my App and relaunched my App, it seems getCurrentState() always return 0 even it was connected. When my App is in the foreground, connect/disconnect/getCurrentState everything work as expected. Not sure this is expected result or maybe the way I used it was wrong. If you could shed some light on how to get the current VPN state in this case would be appreciated.
Thanks again!
I am getting error when buil project on android.
build.gradle file error Plugin with id ‘maven’ not found.
Please help me.
used react-native-ip-sec-vpn to make normal vpn connecting app. I used connect (address,username,password) from react-native-ip-sec-vpn . For that I used some free vpn server address ,username and password from this one . But everytime my app shows Server is unreachable . I used several free vpn server addresses but didn't get success. My demo code like this const [credentials, setCredentials] = useState({ address: 'vpn684845985.opengw.net', username: 'vpn', password: 'vpn' });
connect(credentials.address, credentials.username, credentials.password) Is there anything wrong in my code? Or I misunderstood regarding using of vpn sever and react-native-ip-sec-vpn . Anyone can help ?
I setup server using the following
https://github.com/hwdsl2/setup-ipsec-vpn
But, When I try to connect to the server using this app, it says 'AUTHENTICATION_FAILED'.
Help me with this.
My code:
connect( credentials.address, credentials.username, credentials.password, ) .then(() => console.log('connected')) .catch(console.log)
Is this correct and is there anything to add ?
Hello, I tried to use this lib with Expo SDK 39 + React native 0.63.3 and when trying to start the app, the errors appear:
`TypeError: null is not an object (evaluating 'react_native_1.NativeModules.RNIpSecVpn.prepare')
Invariant Violation: "main" has not been registered. This can happen if:
AppRegistry.registerComponent
wasn't called.`Does anyone know how to tell me it is compatible? I am in urgent need of a VPN client for react native.
are there anyways to use Proxy instead of vpn ? i want to use Proxy for my application and i want to be able to change it programmatically , as far as i know i can change the vpn address from inside the application , is anything similar to this available for proxies ?
iOS works but I could not connect from the android device.
Does anyone have experience connecting to a IKEv2 IPsec VPN created by a cellular router? Using some Zyxel products we were able to create the VPN but are now having trouble connecting to it. We used the public ip for the address and various combinations for the username and password but nothing has worked. None of us have a background in networking so we're clueless as to what the issue is. Would love some help!
onPress={() =>
connect(credentials.address, credentials.username, credentials.password)
.then((_res) => console.log('connect: ', _res))
.catch(console.log)
}
does not outputs anything to console.
I want to install this package in latest React Native, but it showed error.
`
Could not resolve dependency:
peer react@"^16.8.1" from [email protected]
node_modules/react-native-ip-sec-vpn
react-native-ip-sec-vpn@"*" from the root project
`
Please update this package for latest version.
Hi,
I'm using L2TP/IPsec servers and would like to know if we need to supply the pre-shared key for this library.
If I've a IPSec server listening to port (500) how can I connect to it ?
I'm trying to set in address something like : (ip_address:port) but I can't connect
package.json in example folder contains
"react-native-ip-sec-vpn": "link:../"
line
and when I try to use npm install on example folder, it returns below error.
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "link:": link:../
I'm currently building an app using react-native. The app will be used for watching live video streams, and it'll be possible to join the live stream (RTSP link) via a specific IP address (provided by VPN). In iOS, the connection is established without a problem, and I can watch the live stream. As for Android, it's not possible to watch the live stream. It seems to me that the application traffic bypasses the VPN connection. I can only watch the live stream in Android (with the VPN connection being enabled) if I minimize the app and use the VLC player.
Can you please help me understand if there's any issue on Android's side? Which one?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.