MahdiGraph
MahdiGraph

Reputation: 87

How to make an vpn app using react native

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?

Upvotes: 6

Views: 15525

Answers (1)

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)

Upvotes: 11

Related Questions