All Projects → my-network → ipvpn

my-network / ipvpn

Licence: GPL-3.0 license
[WIP] Easy-to-use decentralized secure overlay private network (for any device)

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to ipvpn

edgevpn
⛵ The immutable, decentralized, statically built p2p VPN without any central server and automatic discovery! Create decentralized introspectable tunnels over p2p with shared tokens
Stars: ✭ 223 (+829.17%)
Mutual labels:  ipfs, nat, vpn, mesh
Lbry Sdk
The LBRY SDK for building decentralized, censorship resistant, monetized, digital content apps.
Stars: ✭ 7,169 (+29770.83%)
Mutual labels:  decentralized, p2p, dht, kademlia
Layr
A decentralized (p2p) file storage system built atop Kademlia DHT that enforces data integrity, privacy, and availability through sharding, proofs of retrievability, redundancy, and encryption, with smart-contract powered incentive scheme
Stars: ✭ 90 (+275%)
Mutual labels:  decentralized, p2p, dht, kademlia
Spruce Network
Decentralized peer-to-peer mesh network.
Stars: ✭ 61 (+154.17%)
Mutual labels:  decentralized, p2p, dht, mesh
Orbit Db
Peer-to-Peer Databases for the Decentralized Web
Stars: ✭ 6,381 (+26487.5%)
Mutual labels:  ipfs, decentralized, p2p
pop
Run a point-of-presence within Myel, the community powered content delivery network.
Stars: ✭ 28 (+16.67%)
Mutual labels:  ipfs, decentralized, p2p
Peergos
A p2p, secure file storage, social network and application protocol
Stars: ✭ 895 (+3629.17%)
Mutual labels:  ipfs, decentralized, p2p
Wikipedia Ipfs
An exploration to host Wikipedia in IPFS
Stars: ✭ 158 (+558.33%)
Mutual labels:  ipfs, decentralized, p2p
Gnb
GNB is open source de-centralized VPN to achieve layer3 network via p2p with the ultimate capability of NAT Traversal.GNB是一个开源的去中心化的具有极致内网穿透能力的通过P2P进行三层网络交换的VPN。
Stars: ✭ 225 (+837.5%)
Mutual labels:  nat, p2p, vpn
Js Dag Service
Library for storing and replicating hash-linked data over the IPFS network.
Stars: ✭ 81 (+237.5%)
Mutual labels:  ipfs, decentralized, p2p
Unstoppable Wallet Android
A secure and decentralized Bitcoin and other cryptocurrency wallet for Android phones. Supports Bitcoin, Ethereum, EOS, Binance Chain, Bitcoin Cash, DASH, ...
Stars: ✭ 165 (+587.5%)
Mutual labels:  ipfs, decentralized, p2p
Js Ipfs
IPFS implementation in JavaScript
Stars: ✭ 6,129 (+25437.5%)
Mutual labels:  ipfs, decentralized, p2p
Awesome Decentralized
🕶 Awesome list of distributed, decentralized, p2p apps and tools 👍
Stars: ✭ 358 (+1391.67%)
Mutual labels:  ipfs, decentralized, p2p
Rust Ipfs
The InterPlanetary File System (IPFS), implemented in Rust.
Stars: ✭ 739 (+2979.17%)
Mutual labels:  ipfs, decentralized, p2p
awesome-orbitdb
Useful resources for using OrbitDB and building projects on it
Stars: ✭ 87 (+262.5%)
Mutual labels:  ipfs, decentralized, p2p
Orion
[Moved to Gitlab] Easy to Use, Inter Planetary File System (IPFS) desktop client
Stars: ✭ 115 (+379.17%)
Mutual labels:  ipfs, decentralized, p2p
field-manual
The Offical User's Guide to OrbitDB
Stars: ✭ 178 (+641.67%)
Mutual labels:  ipfs, decentralized, p2p
Prototype Cjdns Pi
Prototype system for mesh networks on single board computers
Stars: ✭ 205 (+754.17%)
Mutual labels:  ipfs, p2p, mesh
netmaker
Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
Stars: ✭ 4,147 (+17179.17%)
Mutual labels:  vpn, mesh, wireguard
opengnb
GNB is open source de-centralized VPN to achieve layer3 network via p2p with the ultimate capability of NAT Traversal.GNB是一个开源的去中心化的具有极致内网穿透能力的通过P2P进行三层网络交换的VPN。
Stars: ✭ 440 (+1733.33%)
Mutual labels:  nat, p2p, vpn

Intro

The parent project is mynet. This module is responsible for creating a VPN through all required devices. It could be used as a separate solution (on a server, for example), but it was supposed to use mynet on desktops

Architecture

We use:

  • IPFS. It's used as:
    • Node discovery (using their DHT).
    • Fallback connector (when it's impossible to connect nodes directly).
    • STUN-replacement (tools to pass-trough a NAT).
    • Messenger (to send notification among nodes).
  • WireGuard. It's used as the VPN implementation. If OS doesn't support WireGuard then we detect it and use an userspace implementation.

An ipvpn node is also a full ipfs node, so it consumes some traffic background.

NAT traversal

Used techniques:

Requirements

Run:

  • Linux or MacOS only, yet

Build:

  • Linux or MacOS only, yet
  • Go>=1.13

Quick start

Just run on all your nodes (the sample commands):

# install
GO111MODULE=on go get github.com/my-network/ipvpn/cmd/ipvpnd
sudo mkdir /var/run/wireguard
sudo chown $UID /var/run/wireguard
sudo setcap cap_net_raw,cap_net_admin+ep `go env GOPATH`/bin/ipvpnd

# configure
mkdir -p "$HOME/.ipvpn"
echo "my_unique_network_name_here" > "$HOME/.ipvpn/network_id.txt"
echo "my_password_here" > "$HOME/.ipvpn/password_new.txt"

# run
`go env GOPATH`/bin/ipvpnd

# in other terminal, check:
ip a show dev ipvpn_direct
ip a show dev ipvpn_tunnel
ping -c 5 10.197.202.1
ping -c 5 10.197.203.1
  • my_unique_network_here should be replaced by a name of you virtual private network
  • my_password_here should be replaced by some secret string

That's it. If my_unique_network_here and my_password_here will match through all of your nodes then they will build an overlay network automatically.

Similar projects

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].