Build IPOP for Raspbian on Raspberry Pi

Tested on Raspbian Jessie and Stretch on Raspberry Pi 3
Time ~ 10 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’s:

#To build Raspberry Pi set ARCH=arm7 and PLAT=rpi

Then continue to make:

cp -f ../out/release/arm7/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