Build IPOP for Raspbian on Raspberry Pi Zero

Tested on Raspbian Stretch on Raspberry Pi Zero
Time ~ 30 Minutes
Question(s) - How to build IPOP?
Objective(s) - Build IPOP Source Code

Download and Install Dependencies

sudo apt-get update -y
sudo apt-get install -y software-properties-common git make libssl-dev g++-4.9 
sudo apt-get install -y python3 python-pip python-dev
sudo pip install sleekxmpp psutil pystun
sudo rm /usr/bin/g++
sudo ln -s /usr/bin/g++-4.9 /usr/bin/g++ 

Build IPOP

Run the following commands as a regular (non-root) user:

mkdir -p ~/workspace/ipop-project ~/workspace/ipop-vpn/config
cd ~/workspace/ipop-project/
git clone
git clone
cd Tincan
cd trunk/build/

Edit ~/workspace/ipop-project/Tincan/trunk/build/ and change the default make parameters to Raspberry Pi 3’s:

#To build Raspberry Pi Zero, set ARCH=arm6 and PLAT=rpi

Then continue to make:

cp -f ../out/release/arm6/ipop-tincan ../../../../ipop-vpn/
cd ../../../Controllers
cp -rf ./controller/ ../../ipop-vpn/

Copy Configuration File

You will need a valid configuration file (ipop-config.json) to run IPOP. Go to the directory you have your config file and copy the file to the config directory:

cp ipop-config.json ~/workspace/ipop-vpn/config