liangroger / aleaf

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:Kotlin 62.0%Language:Shell 32.3%Language:Rust 5.6%