Use IPOP on Ubuntu and Raspberry Pi, Manually
Vahid Daneshmand edited this page Jan 31, 2020
·
16 revisions
Description | |
---|---|
Tested on | Ubuntu 18.04 x64 Raspbian Buster on Raspberry Pi 3 and 4 |
Time | ~ 10 Minutes |
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
If you have already done building IPOP, it must be in ~/workspace/ipop-projct/ipop-vpn
:
cd ~/workspace/ipop-project/ipop-vpn
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
Follow the instructions.
sudo ./ipop-tincan &
sudo python3 -m controller.Controller -c ./config/config.json &
sudo killall ipop-tincan
ps aux | grep -v grep | grep controller.Controller | awk '{print $2}' | xargs sudo kill -9
To uninstall IPOP, it is safe to stop it first and then remove the ipop-vpn
directory:
rm -rf ~/workspace/ipop-project/ipop-vpn