-
Notifications
You must be signed in to change notification settings - Fork 12
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 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
-
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" }
-
Enable ipv6
sudo modprobe ipv6
-
Launch ipop-tincan
sudo sh -c './ipop-tincan 1> out.log 2> err.log &'
-
Start the appropriate controller
./gvpn_controller.py -c config.json &> log.txt &
-
Check on the current status of your network using netcat
echo '{"m":"get_state"}' | netcat -u 127.0.0.1 5800
-
Check the network devices and ip address for your device
/sbin/ifconfig ipop
-
Kill groupvpn
pkill ipop-tincan pkill gvpn_controller.py
Run groupvpn on another machine using same credentials and they will connect with each other.
- Building the code
- IPOP packages
- Running SocialVPN nodes
- Running GroupVPN nodes
- Deploying OSN and NAT traversal services
- Test and monitoring
- Extending the code
- General documentation