Build IPOP for CentOS

Warning: This document may be out of date.

Tested on CentOS 7 x64
Time ~ 10 Minutes
Question(s) - How to build IPOP?
Objective(s) - Build IPOP Source Code

Download and Install Dependencies

yum -y update
yum install -y centos-release-scl-rh
yum install -y devtoolset-3-gcc-c++ rh-python35
yum install -y git nss-devel openssl-devel
scl enable devtoolset-3 bash
scl enable rh-python35 bash
curl "" -o ""
yum install -y python-devel.x86_64
pip install sleekxmpp psutil pystun

Build IPOP

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

scl enable rh-python35 bash
scl enable devtoolset-3 bash
mkdir -p ~/workspace/ipop-project ~/workspace/ipop-vpn/config
cd workspace/ipop-project/
git clone
git clone
cd Tincan
cd trunk/build/
cp -f ../out/release/x64/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

Sample Configuration File

A sample configuration file is available here.