All Projects → oxen-io → lokinet

oxen-io / lokinet

Licence: GPL-3.0 License
Lokinet is an anonymous, decentralized and IP based overlay network for the internet.

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
python
139335 projects - #7 most used programming language
CMake
9771 projects
shell
77523 projects
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to lokinet

Loki Network
Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
Stars: ✭ 507 (-36.31%)
Mutual labels:  decentralized, dht, vpn
ipvpn
[WIP] Easy-to-use decentralized secure overlay private network (for any device)
Stars: ✭ 24 (-96.98%)
Mutual labels:  decentralized, dht, vpn
Wirehub
🌍 Decentralized, peer-to-peer and secure overlay networks
Stars: ✭ 459 (-42.34%)
Mutual labels:  decentralized, dht, vpn
Kadnode
P2P DNS with content key, crypto key and PKI support. DynDNS alternative.
Stars: ✭ 359 (-54.9%)
Mutual labels:  decentralized, dht
Lbry Sdk
The LBRY SDK for building decentralized, censorship resistant, monetized, digital content apps.
Stars: ✭ 7,169 (+800.63%)
Mutual labels:  decentralized, dht
Radvpn
Decentralized VPN
Stars: ✭ 993 (+24.75%)
Mutual labels:  decentralized, vpn
Crypto Dht
Blockchain over DHT in GO
Stars: ✭ 38 (-95.23%)
Mutual labels:  decentralized, dht
ipfs-chat
Real-time P2P messenger using go-ipfs pubsub. TUI. End-to-end encrypted texting & file-sharing. NAT traversal.
Stars: ✭ 84 (-89.45%)
Mutual labels:  decentralized, dht
Bitchatclient
Technitium Bit Chat, a secure, peer-to-peer, instant messenger!
Stars: ✭ 111 (-86.06%)
Mutual labels:  decentralized, dht
Spruce Network
Decentralized peer-to-peer mesh network.
Stars: ✭ 61 (-92.34%)
Mutual labels:  decentralized, dht
PhantasmaChain
Blockchain with native storage and smart contract integration.
Stars: ✭ 74 (-90.7%)
Mutual labels:  decentralized, dht
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 (-88.69%)
Mutual labels:  decentralized, dht
wirelink
Experimental P2P configuration plane for Wireguard
Stars: ✭ 16 (-97.99%)
Mutual labels:  vpn
xenon
Markdown/Rich Text editor with a decentralized storage system | Built with Vue
Stars: ✭ 19 (-97.61%)
Mutual labels:  decentralized
libanonvpn
Library for TUN and TAP devices over I2P in Go Applications
Stars: ✭ 35 (-95.6%)
Mutual labels:  vpn
setprotocol.js
🥞 Javascript library for a collateralized basket of ERC20 tokens
Stars: ✭ 57 (-92.84%)
Mutual labels:  decentralized
k8s-ovpn-chart
[DEPRECATED] Helm chart for a private OpenVPN server
Stars: ✭ 19 (-97.61%)
Mutual labels:  vpn
hydra-booster
A DHT Indexer node & Peer Router
Stars: ✭ 56 (-92.96%)
Mutual labels:  dht
android
Android eduVPN application
Stars: ✭ 80 (-89.95%)
Mutual labels:  vpn
Open2Nord
A Python script that makes connecting to NordVPN servers through OpenVPN GUI a lot easier, and adds extra functionality
Stars: ✭ 22 (-97.24%)
Mutual labels:  vpn

Lokinet

Español Русский

Lokinet is the reference implementation of LLARP (low latency anonymous routing protocol), a layer 3 onion routing protocol.

You can learn more about the high level design of LLARP here

Build Status

Installing

If you are simply looking to install Lokinet and don't want to compile it yourself we provide several options for platforms to run on:

Tier 1:

Tier 2:

Currently Unsupproted Platforms: (maintainers welcome)

  • Apple iPhone
  • Homebrew
  • [Insert Flavor of the Month windows package manager here]

Building

Build requirements:

  • Git
  • CMake
  • C++ 17 capable C++ compiler
  • libuv >= 1.27.0
  • libsodium >= 1.0.18
  • libssl (for lokinet-bootstrap)
  • libcurl (for lokinet-bootstrap)
  • libunbound
  • libzmq
  • cppzmq
  • sqlite3

Linux

You do not have to build from source if you are on debian or ubuntu as we have apt repositories with pre-built lokinet packages on deb.oxen.io or rpm.oxen.io.

You can install debian packages using:

$ sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg
$ echo "deb https://deb.oxen.io $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/oxen.list
$ sudo apt update
$ sudo apt install lokinet

If you want to build from source:

$ sudo apt install build-essential cmake git libcap-dev pkg-config automake libtool libuv1-dev libsodium-dev libzmq3-dev libcurl4-openssl-dev libevent-dev nettle-dev libunbound-dev libsqlite3-dev libssl-dev nlohmann-json3-dev
$ git clone --recursive https://github.com/oxen-io/lokinet
$ cd lokinet
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF
$ make -j$(nproc)
$ sudo make install

Cross Compile For Linux

install the toolchain for $arch this example is aarch64

$ sudo apt install g{cc,++}-aarch64-linux-gnu

build 1 or many cross targets:

$ ./contrib/cross.sh arch_1 arch_2 ... arch_n

MacOS

Lokinet is will be available on the Apple App store.

Source code compilation of Lokinet by end users is not supported or permitted by apple on their platforms, see this for more information. If you find this disagreeable consider using a platform that permits compiling from source.

Windows

You can get the latest stable windows release from https://lokinet.org/ or check the releases page on github.

nightly builds for the brave or impatient can be found from our CI pipeline here

Building For Windows

windows builds are cross compiled from debian/ubuntu linux

additional build requirements:

  • nsis
  • cpack

setup:

$ sudo apt install build-essential cmake git pkg-config mingw-w64 nsis cpack automake libtool

building:

$ git clone --recursive https://github.com/oxen-io/lokinet
$ cd lokinet
$ ./contrib/windows.sh

FreeBSD

Currently has no VPN Platform code, see #1513

build:

$ pkg install cmake git pkgconf
$ git clone --recursive https://github.com/oxen-io/lokinet
$ cd lokinet
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON -DBUILD_STATIC_DEPS=ON ..
$ make

install (root):

# make install

Android

We have an Android APK for lokinet VPN via android VPN API.

Coming to F-Droid whenever that happens. [issue]

Usage

Debian / Ubuntu packages

When running from debian package the following steps are not needed as it is already running and ready to use. You can stop/start/restart it using systemctl start lokinet, systemctl stop lokinet, etc.

Running on Linux (without debs)

DO NOT RUN AS ROOT, run as normal user.

set up the initial configs:

$ lokinet -g
$ lokinet-bootstrap

after you create default config, run it:

$ lokinet

This requires the binary to have the proper capabilities which is usually set by make install on the binary. If you have errors regarding permissions to open a new interface this can be resolved using:

$ sudo setcap cap_net_admin,cap_net_bind_service=+eip /usr/local/bin/lokinet

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Copyright © 2018-2022 The Oxen Project
Copyright © 2018-2022 Jeff Becker
Copyright © 2018-2020 Rick V. (Historical Windows NT port and portions)
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].