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?
Asked
Active
Viewed 1.2k times
1 Answers
9
Example projects:
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)

William Brochensque junior
- 2,385
- 18
- 35
- 46
-
all of the mention apps are just UI. the package no shown is depricated – Engr.Aftab Ufaq Nov 22 '22 at 13:04
-
@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! – William Brochensque junior Nov 30 '22 at 20:50
-
the mentioned project has just ui and are not real vpn apps – Engr.Aftab Ufaq Dec 02 '22 at 07:00