P2PVPN

P2PVPN is a software which provides you with an Virtual Private Network, you can use to connect your computer with other computers over the Internet. It's similar to Hamachi, Tunngle, Wippien and many others.

Installation - Linux

Install Java
P2PVPN is written in Java, so you have to install Java Runtime Environment version 5 or later.

Downloading P2PVPN
Download P2PVPN here: P2PVPN
Unzip the file and execute the included P2PVPN.jar as root. To run P2PVPN as root open a terminal and type in:

sudo java -jar P2PVPN.jar

or

su -c 'java -jar P2PVPN.jar'


Installation - Windows

Install Java
P2PVPN is written in Java, so you will need Java Runtime Environment version 5 or later. You can download a JRE here: Java

Install TAP-Win32 from OpenVPN
P2PVPN is using the virtual Ethernet adapter from OpenVPN. It can be downloaded here: OpenVPN

Downloading P2PVPN
Download P2PVPN here: P2PVPN
Unzip the file and launch the included P2PVPN.exe with administrator privileges.

Port forwarding
P2PVPN does not penetrate NAT routers or firewalls. You have to make sure that at least one peer has set up port forwarding (the more the better). To do this you have to set the "Listen on Port" option on the options window. This port should be forwarded by your NAT router. Or, you could use a proxy/VPN service (like ngrok and portmap.io) which allows portforwarding, then forward the TCP port you set in P2PVPN (not tested).

Create your own network
To create a new network press New Network.... Choose a name, if you are a more advanced user, you might want to check the "Advanced" tab. If you have a peer with a static IP or an DNS name add it to "Known Hosts" in this format: "host:port".
If you don't want to use the Pirate Bay tracker enter another tracker URL. If you know what you are doing you may also remove the tracker URL. P2PVPN will use no tracker then.

Invite other people
When you create your network, invite other people with Invite someone.... Check "Allow invitation of others" if you want to allow the invited person to also create invitations. Uncheck "Allow invitation of others" if the invited person should not be able to invite other people. You can also set a expiration date. The invited person can not access the network after this date. Click "Generate Invitation" to generate a invite code and send it to someone using e-mail, instant messaging, etc.

Joining a Network
Press Accept Invitation..., copy and paste your invitation into the text area of the new window, then click "OK" to join the network.

P2PVPN will connect to other peers in the network. If everything is set correctly, you should be able to see other peers.

Comments