Skip to content
forked from DdVwl6Fj3a/aleaf

Shows how to build a VPN app for Android using leaf: https://github.com/eycorsican/leaf.

Notifications You must be signed in to change notification settings

liangroger/aleaf

 
 

Repository files navigation

aleaf

Shows how to build a VPN app for Android using leaf.

Dependencies

  • Rust
  • GCC/clang
  • Make
  • SDK
  • NDK

Building

export ANDROID_HOME=/path/to/sdk
export NDK_HOME=/path/to/sdk/ndk-bundle

rustup target add aarch64-linux-android x86_64-linux-android

git clone --recursive https://github.com/eycorsican/aleaf
cd aleaf

./app/src/main/rust/leaf-android/build.sh debug

Refer here and here for more details.

Limitation

TLS outbound is not working on x86_64 due to this issue. But it's possible to specify a custom certificate chain via the SSL_CERT_FILE env var.

About

Shows how to build a VPN app for Android using leaf: https://github.com/eycorsican/leaf.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 62.1%
  • Shell 32.3%
  • Rust 5.6%