X-dea / flutter_vpn

Plugin to access VPN service for Flutter | Flutter 的 VPN 插件
GNU Lesser General Public License v3.0
345 stars 125 forks source link

How to use FlutterVpn.connectIPSec() ? #109

Open fajrur opened 1 year ago

fajrur commented 1 year ago

How to use this function in Android? I want to connect to my vpn that have secret key. I added my secret key to the form and used this function:

FlutterVpn.connectIPSec(
   server: _addressController.text,
   username: _usernameController.text,
   password: _passwordController.text,
   secret: _secretController.text);