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.
It also serves as a command line tool that can shuttle traffic to and from a TAP device through a UDP socket, making it an excellent starting point for implementing your own VPN.
ipop-tap
isn't generally useful on its own. Typically, you'll want to build
it with ipop-tincan
.
These instructions exist for those who wish to use ipop-tap
on its own as a
command-line tool, either for testing and development, or for use with some
other application.
warning
This doesn't implement any form of secure authentication or encryption. If you want that, you'll have roll your own, or use it with something else that provides it, such as ipop-tincan.
-
Check to make sure you have our build dependencies:
sudo aptitude install build-essential
-
Build the software (doesn't need root):
make
-
Navigate to
svpn/android/jni
:cd android/jni
-
Use ndk-build (assuming it in your path) to build the application:
ndk-build
-
Make a new
config.json
file 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
-h
or--help
flag.