How to make an vpn app using react native
Asked Answered
B

1

5

I Searched a lot about how to make an l2tp or pptp vpn app using react-native but i didn't find anything anyone has solution?

Brinkman answered 13/5, 2020 at 11:47 Comment(1)
I have found a library and modified that to develop the appLully
A
10

Example projects:

react-native-vpn-app

react-native-vpn-app forks

vpn-app

You can fork them on github and make the changes you want to.

[EDIT]

You can use react-native-ip-sec-vpn now!

Use it like as follow:

import {prepare, connect} from "react-native-ip-sec-vpn";
...
useEffect(() => {
    prepare();
}); /// or use componentDidmount in case of a class component
...
connect(address, username, password)
Aeolipile answered 13/5, 2020 at 13:7 Comment(5)
all of the mention apps are just UI. the package no shown is depricatedLully
@Engr.AftabUfaq Some of them might not be working as intended too, as now the react-native framework became more up to date and those projects use an old version of react-native. 2 years of difference should make those projects break with new stuff!Aeolipile
the mentioned project has just ui and are not real vpn appsLully
yes. I have done this.Lully
@OmarSaade yes. I have done this. WhatsApp me +923055924406Lully

© 2022 - 2024 — McMap. All rights reserved.