flutter_wireguard_tunnel 0.1.1
flutter_wireguard_tunnel: ^0.1.1 copied to clipboard
WireGuard tunnel for Flutter on Android and iOS. Start and stop a tunnel from Dart, split or full, with the private key made and kept on the device.
0.1.1 #
- Android: WireGuard library
com.wireguard.android:tunnel1.0.20260102. Its native libraries are 16 KB page aligned. 0.1.0 used 1.0.20230706, whose libraries are only 4 KB aligned, and Google Play rejects apps with those ("Your app does not support 16 KB memory page sizes"). No API changes.
0.1.0 #
First release.
WireGuardTunnel:prepare,start,stop,state,isPrepared,publicKey.WireGuardConfigwith one interface and one peer: addresses, allowed IPs, DNS, MTU, keepalive, own or device private key, preshared key. Checked before it reaches the platform.WireGuardConfig.parsereads wg-quick files.- Android on the WireGuard GoBackend (
com.wireguard.android:tunnel). Device key encrypted with an Android Keystore key. - iOS through a packet tunnel extension with WireGuardKit and a prebuilt wireguard-go. Device key in the Keychain.
dart run flutter_wireguard_tunnel:setup_ioscopies the extension kit into the app. - The tunnel goes down when the app is closed, on both platforms.