Skip to content

A Social Virtual Private Network based on IP over P2P Overlay

Notifications You must be signed in to change notification settings

tobyfw/socialvpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SocialVPN

Building SocialVPN
==================
NAnt build tool is required

For debian-based systems:
apt-get install nant uml-utilities

For RedHat-based systems:
yum install nant uml-utilities

cd src/

To compile, run:

nant

To run NUnit test, run:

nant test

To clean, run

nant clean

Running SocialVPN
=================
After compiling, all files to run SocialVPN are saved in bin directory.
Hence, You can move bin directory anywhere that you want without worrying
about dependencies.

Go inside of bin directory (cd)

For Windows XP, run the start_win.cmd file

For Windows Vista, right-click on start_win.cmd and "Run as administrator"

For Linux, see instructions below to run as normal user (much safer)

To run SocialVPN as non-root on Linux
-------------------------------------

Run following commands as root:

chmod 666 /dev/net/tun/

tunctl -u "your username" -t tapipop

To find your username run the whoami command

Then run the start_linux.sh

Accessing SocialVPN Web Interface
=================================
SocialVPN can be managed through a Web browser or the wget command line
utility. The start_win.cmd and the start_win.sh files contains the port
number used to access the interface. The default port number is 58888.

Point your browser to http://127.0.0.1:58888/


Dependencies:
=============
SocialVPN is built on top of two other projects:
1) The Brunet P2P Library 
   - http://github.com/johnynek/brunet/tree/master (based repo)
   - http://github.com/davidiw/brunet/tree/master (added features)
2) The IP over P2P Application (IPOP)
   - http://github.com/davidiw/ipop/tree/master

All packaged binaries found under lib and bin directories are compiled from
these two projects.

Troubleshooting:
================
The libtuntap.so and libtuntap.dll files are platform-dependent, they have to
be compiled for your platform. Under the bin directory there are two other
libtuntap.so files on for 32-bit systems (libtuntap.so_32) and another for
64-bit systems (libtuntap.so_64). Rename one of these files to libtuntap.so
depending on your architecture. Windows 64-bit will be available soon.

Questions/Comments:
===================
Contact Pierre St Juste <ptony82@ufl.edu> for any questions.

License:
========
This code is licensed under the GPLv2 (or at your option any later version).

About

A Social Virtual Private Network based on IP over P2P Overlay

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages