-
Notifications
You must be signed in to change notification settings - Fork 10
/
README
89 lines (60 loc) · 2.27 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
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 <[email protected]> for any questions.
License:
========
This code is licensed under the GPLv2 (or at your option any later version).