Skip to content

Running GroupVPN on Raspberry Pi

Pierre St Juste edited this page Dec 23, 2013 · 8 revisions

These instructions are for Raspbian (Raspberry Pi) compiled with vfp and hard floating point.

Download and configure GroupVPN

  1. Download groupvpn/ and extract for Raspberry Pi

    wget http://www.acis.ufl.edu/~ptony82/ipop/ipop-rpi_14.01.rc1.tgz
    tar xvzf ipop-rpi_14.01.rc1.tgz
    cd ipop-rpi_14.01.rc1
  2. Update the config.json file with proper credentials. For GroupVPN it is important to use a different IPv4 address for each machine (e.g. 192.168.5.1 for machine 1 and 192.168.5.2 for machine 2).

    {
        "ip4": "192.168.5.1",
        "xmpp_username": "username@gmail.com",
        "xmpp_password": "enter-password-here",
        "xmpp_host": "talk.google.com"
    }

Running GroupVPN

  1. Enable ipv6

    sudo modprobe ipv6
  2. Launch ipop-tincan

    sudo sh -c './ipop-tincan 1> out.log 2> err.log &'
  3. Start the appropriate controller

    ./gvpn_controller.py -c config.json &> log.txt &
  4. Check on the current status of your network using netcat

    echo '{"m":"get_state"}' | netcat -u 127.0.0.1 5800
  5. Check the network devices and ip address for your device

    /sbin/ifconfig ipop

Closing GroupVPN

  1. Kill groupvpn

    pkill ipop-tincan
    pkill gvpn_controller.py

Run groupvpn on another machine using same credentials and they will connect with each other.

Clone this wiki locally