This is the tap module for IPOP that performs all packet-level operations, translating packets, setting up, and reading and writing from and to the TAP device.
-
Check to make sure you have OpenSSL installed (as root):
sudo aptitude install libssl-dev openssl -
Build the software (doesn't need root):
make
-
Navigate to
svpn/android/jni:cd android/jni -
Decompress the pre-built libssl and libcrypto binaries:
gunzip -c libcrypto.a.gz > libcrypto.a gnuzip -c libssl.a.gz > libssl.a -
Run the included helper setup script to download the openssl headers:
./setup.sh -
Use ndk-build (assuming it in your path) to build the application:
ndk-build
-
Make a new
config.jsonfile based onconfig.json.example. -
Starting in the base repository directory:
sudo ./bin/ipop-tap
note
You can see information on command-line arguments that the program supports by using a
-hor--helpflag.
warning
At the moment this is simply a conceptual prototype, and there is no IPv4 encryption in place. We plan to use TLS from OpenSSL, but that's for a future date.