Skip to main content

flutter_wireguard_tunnel 0.1.1 copy "flutter_wireguard_tunnel: ^0.1.1" to clipboard
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:tunnel 1.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.
  • WireGuardConfig with 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.parse reads 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_ios copies the extension kit into the app.
  • The tunnel goes down when the app is closed, on both platforms.
0
likes
160
points
267
downloads

Documentation

API reference

Publisher

verified publisherorestislef.gr

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#wireguard #vpn #tunnel #network

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_wireguard_tunnel

Packages that implement flutter_wireguard_tunnel