【English】 【繁体中文】 【简体中文】 【日本语】 【Español】 【Italiano】 【한국어】 【العربي】 【Tiếng Việt】 【แบบไทย】
OmniEdge is an Open source p2p layer 2 VPN infrastructure based on n2n protocol, a traditional VPN alternative. No central server, easy to scale with less maintenance. What happens in intranet, stays in in intranet.
Key features:
Dashboard administration management | Desktop GUI apps for MacOS(menubar) and Windows(systray) | |
Command line cli apps for Linux,FreeBSD, Raspbian and MacOS | ||
Multi users | Unlimited data transfer | Command line cli apps for armv7,arm64,RISC-V64,x86_64 and amd64 |
Multi devices | Encrypted peer-to-peer connection | Mobile apps for iOS and Android |
Encrypted connection relay | Tablet apps for iPad, Android Tablet and Android TV | |
Hybrid-cloud support | NAS App for Synology | |
Security Keys | Automatic public supernode allocation | |
Drop Files remotely | Automatic IP allocation |
Supported
App | Version | Linux | Windows | MacOS | FreeBSD | iOS | Android | Synology | OpenWrt | Docker | Github Action |
---|---|---|---|---|---|---|---|---|---|---|---|
OmniEdge | 0.2.3 | ||||||||||
OmniEdge | 0.2.4 |
Get Started in 5 minutes
- Sign up your account: Sign up
- Download OmniEdge apps for your platform: macOS, linux, FreeBSD, iOS, android and more.
- Or run the following command if you want to use cli version:
curl https://omniedge.io/install/omniedge-install.sh | bash
- Login with your Email and password, select your virtual network, connect!
You are all set!
And if you want to login with security key, or manage your devices, go and check Documenation for more.
Docker
Bring container into intranet.
sudo docker run -d \
-e OMNIEDGE_SECURITYKEY=OMNIEDGE_SECURITYKEY \
-e OMNIEDGE_VIRUTALNETWORK_ID="OMNIEDGE_VIRUTALNETWORK_ID" \
--network host \
--privileged \
omniedge/omniedge:latest
Github Action
Bring Github Action into intranet, access nodes/devices from CI workflows.
- name: OmniEdge for Github Action uses: omniedgeio/[email protected] with: securitykey: ${{ secrets.OMNIEDGE_SECURITY_KEY }} virtualnetworkid: ${{ secrets.OMNIEDGE_VIRTUALNETWORK_ID }}
Server status
This Server Status is generated every 5 hours by OmniEdge Github action.
Compile
Linux
Install golang for your distribution
Follow the instruction to install golang, we use 1.16.6, or running the following command:
wget https://go.dev/dl/go1.16.6.linux-amd64.tar.gz rm -rf /usr/local/go && tar -C /usr/local -xzf go1.16.6.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin go version
Build for Ubuntu 18.04, 20.04, 22.04/Debian 10, 11
sudo apt-get -y update
sudo apt-get install -y openssl build-essential libssl-dev zip autoconf
git clone https://github.com/omniedgeio/omniedge-cli
cd omniedge-cli
go mod download
go generate
BUILD_ENV=prod make build
Build for Fedora 36, CentOS 8
sudo yum update
sudo yum -y install gcc-c++ curl wget zip wget git openssl-devel net-tools automake autoconf make
git clone https://github.com/omniedgeio/omniedge-cli
cd omniedge-cli
go mod download
go generate
chmod +x internal/make
BUILD_ENV=prod make build
Build for Arch(Manjaro)
sudo pacman -Syu --needed unzip git gcc curl wget zip make pkg-config openssl net-tools automake autoconf make
git clone https://github.com/omniedgeio/omniedge-cli
cd omniedge-cli
go mod download
go generate
chmod +x internal/make
BUILD_ENV=prod make build
Build for Opensuse
sudo zypper update
sudo zypper install unzip git gcc curl wget zip make pkg-config openssl net-tools automake autoconf make tar
git clone https://github.com/omniedgeio/omniedge-cli
cd omniedge-cli
go mod download
go generate
chmod +x internal/make
BUILD_ENV=prod make build
The compiled omniedge-cli will be found in /out/
BSD
FreeBSD
su pkg update && pkg install go gmake git openssl zip autoconf automake libtool git clone https://github.com/omniedgeio/omniedge-cli cd omniedge-cli go mod download go generate BUILD_ENV=prod make build-freebsd
The compiled omniedge-cli will be found in /out/
Cross Compile
Compile for RISCV64
Host OS: Ubuntu 20.04
apt-get update apt-get install -y openssl autoconf build-essential libssl-dev zip wget g++-riscv64-linux-gnu gcc-riscv64-linux-gnu wget https://go.dev/dl/go1.18.4.linux-amd64.tar.gz rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.4.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin go version export GOOS=linux export GOARCH=riscv64 export CGO_ENABLED=1 export CC=riscv64-linux-gnu-gcc git clone https://github.com/omniedgeio/omniedge-cli.git cd omniedge-cli go mod download go generate BUILD_ENV=prod make build-riscv64
The compiled omniedge-cli will be found in /out/
Android
- Download Android Studio: https://developer.android.com/studio
- Get the repo and compile
git clone https://github.com/omniedgeio/omniedge-android.git` ./gradlew test --stacktrace ./gradlew assembleDebug --stacktrace
We have also prepared the CI for Github and Gitlab for building automatically.
- Github: https://github.com/omniedgeio/omniedge-android/blob/main/.github/workflows/build.yml
- GitLab: https://github.com/omniedgeio/omniedge-android/blob/main/.gitlab-ci.yml
iOS
- Download and install Xcode
- Get the repo and compile
git clone https://github.com/omniedgeio/omniedge-iOS.git
cd omniedge-iOS
open OmniEdgeNew/OmniEdgeNew.xcworkspace
Xcode will open automatically, you have to set your developer account to start the compile. We recommend compiling the package on your devices separately, specially the Tunnel package.
macOS
macOS GUI
- Download and install Xcode
- Get the repo and compile
git clone https://github.com/omniedgeio/omniedge-macOS.git
cd omniedge-macOS
open Omniedge.xcodeproj
Xcode will open automatically, you have to set your developer account to start the compile.
macOS Cli
brew install autoconf automake libtool
git clone https://github.com/omniedgeio/omniedge-cli
cd omniedge-cli
go mod download
go generate
BUILD_ENV=prod make build-darwin
The compiled omniedge-cli will be found in /out/
Windows
- Download QT 5.12.12 for windows and Inno Setup for windows
- Get the repo and compile
git clone https://github.com/omniedgeio/omniedge-windows.git
cd omniedge-windows
- open OmniEdge.pro and QT Creator will open automatically
- Set the Kits to Desktop Qt 5.12.12 MSVC2017 32bit, select build with Release, set the Build directory to:
.\build-package\build\
- Press
crtl+B
to build, and you will find OmniEdge.exe in the folder.\build-package\build\release\
. - copy OmniEdge.exe to
.\build-package\package\
,open omniedge_withTAP_V02_bat.iss with Inno Setup Compile, pressctril+F9
to compile and you will find the installer package in the folder.\build-package\release
OpenWrt
- Compile the binary
We use the github action with the docker to build the binary for openwrt, the docker file is located at:
https://github.com/omniedgeio/omniedge-cli/blob/dev/docker/openwrt-binary
- Package the ipk
A seperated repo https://github.com/omniedgeio/omniedge-openwrt
with github action is used to download the openwrt binary and package the ipk.
Usage
- Virtual Network, Devices, Security Key, and Settings
- Windows 7,10,11 for Intel or Arm
- Android
- Linux Cli for raspberry Pi, Nvidia Jeston,and more
- MacOS Cli
- Synology
- Docker
- Github Action
- iOS
- Setup custom supernode
Use Cases
Tell us your use-case, so we can share to others
- Remote connect windows without exposing public IP with Omniedge
- Display and control macOS, Linux and Windows
- Keep connection with your AI based Project on Jetson
- Display and control your Android device with Omniedge from anywhere on MacOS, Windows and Linux
- Talk to your family and share photos in a LAN on the internet
- Air Drop Any Files between MacOS, Windows, Routers, Linux and Android with Omniedge from anywhere
Compare
- VPN vs. OmniEdge
- Express VPN vs. OmniEdge
- frp/ngrok vs. OmniEdge
- ZeroTier vs. OmniEdge
- n2n vs. OmniEdge
Who are talking about us
- Founded by a Single Tweet Startup OmniEdge’s effort to let connect without concern
- voonze: OmniEdge, to access your Intranet from the Internet using P2P
- wwwhatsnew: OMNIEDGE, PARA ACCEDER A TU INTRANET DESDE INTERNET USANDO P2P
- l'Entrepreneur: OmniEdge, pour accéder à votre Intranet depuis Internet en P2P
- RunaCapital: Awesome OSS alternatives
- OmniEdge in ntopconf 2022
Advisor
Contributors
harri8807 , Tex-Tang, ivyxjc, kidylee, EbenDang ,zteshadow, ChenYouping,ddrandy, Tsingv, mtx2d,Blackrose, cheung-chifung,我不是矿神
feel free to tell us about any posts related us via issue or PR.
If you have more questions, feel free to talk to us at Discussions.