Run OmniEdge as a Service

Refresh token is available from version 0.2.3

Run OmniEdge as a Service
Run OmniEdge as a Service

Get virtual network ID

After login in omniedge, run the command omniedge join -f .omniedge/auth.json to get your virtual network ID.

omniedge join -f .omniedge/auth.json

INFO[0000] You are in mode: prod
INFO[2022-01-17T11:34:28] List Virtual Network response
Use the arrow keys to navigate: ↓ ↑ → ← and / toggles search
choose the network
🌶 Home

--------- Virtual Network ----------
Name: Home
Role: 2
ID: your_virtual_network_id

Create OmniEdge Service

Change the virtual network and your_auth_file_path and create omniedge.service

vi /etc/systemd/system/omniedge.service#/etc/systemd/system/omniedge.service
Description=omniedge process

#Replace to your real virtual network id(can be found by run omniedge join) and auth.json path
ExecStart=/usr/local/bin/omniedge join -n "your_virtual_network_id" -f your_auth_file_path


Activate and start omniedge.service

systemctl daemon-reload 
systemctl enable omniedge.service
systemctl start omniedge.service

If you have more questions, feel free to contact us.

Originally published at



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Bring intranet on the internet.