Lantern Android is an app that uses the Android VpnService API to route all device traffic through a packet interception service and subsequently the Lantern circumvention tool.
- Android Studio
- Git
Download the most recent copy of the Lantern Android source code using git:
mkdir -p ~/AndroidstudioProjects
cd ~/AndroidstudioProjects
git clone https://github.com/getlantern/lantern-mobile.git
In the welcome screen choose the "Open an existing Android Studio" option and
select the lantern folder you just checked out with git.
- Java Development Kit 1.7
- Git
Lantern Android uses tun2socks to route intercepted VPN traffic through a local SOCKS server.
make build-tun2socks
Build the Debug target:
make build-debug
Install it:
make install
Run the app on the device from the command line:
make run
By default, all three tasks will be run in order with:
make
With Lantern Android running, to filter Logcat messages:
adb logcat | grep `adb shell ps | grep org.getlantern.lantern | cut -c10-15`
