Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 956 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 956 Bytes

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 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.