Skip to content

Use IPOP on Ubuntu and Raspberry Pi, Manually

Vahid Daneshmand edited this page Jan 31, 2020 · 16 revisions

Use IPOP on Ubuntu and Raspberry Pi, Manually

Description
Tested on Ubuntu 18.04 x64
Raspbian Buster on Raspberry Pi 3 and 4
Time ~ 10 Minutes

Download and Install Dependencies

sudo apt-get update -y
sudo apt-get install -y python3 python3-pip iproute2 openvswitch-switch bridge-utils
sudo -H pip3 install psutil sleekxmpp requests

Get IPOP Binary

If you have already done building IPOP, it must be in ~/workspace/ipop-projct/ipop-vpn:

cd ~/workspace/ipop-project/ipop-vpn

Configuration File

Copy Configuration File

You will need a valid configuration file, config.json in config directory to run IPOP. A sample configuration file is available to use:

cp controller/template-config.json config/config.json

Edit Configuration File

Follow the instructions.

Run IPOP

Run IPOP TinCan

sudo ./ipop-tincan &

Run IPOP Controller

sudo python3 -m controller.Controller -c ./config/config.json &

Stop IPOP

Stop IPOP Tincan

sudo killall ipop-tincan

Stop IPOP Controller

ps aux | grep -v grep | grep controller.Controller | awk '{print $2}' | xargs sudo kill -9

Remove IPOP

To uninstall IPOP, it is safe to stop it first and then remove the ipop-vpn directory:

rm -rf ~/workspace/ipop-project/ipop-vpn