Doc / Cases / subroute

Remote access to sub router devices

There are a lot of WIFI devices which are not able to run omniedge or other VPN protocols, hence the remote access have a challenge sometimes. Here we offer a cheap solution for you to use OmniEdge OpenWrt and OmniEdge cli for macOS with small firewall command.


  • OmniEdge client for all platform
  • OmniEdge openwrt ipk

Setup on Windows

  1. Install OmniEdge For Windows


  1. Run cmd as administrator, and set the route

route add mask

Setup on MacOS

  1. Install OmniEdge for macOS


  1. Set the route

sudo route -n add -net


  • LAN IP range of the OpenWrt Router
  • OMNIEDGE IP of OpenWRT Router

Setup on OpenWrt

  • LAN IP Range:

  • Download omnedge ipks related to your routers arch, and copy it to your router
  • Install it by running opkg install omniedge*.ipk
  • Generate Security-key, and get the Virtual Network ID from Dashboard
  • Add your Security key and virtual network id to /etc/init.d/omniedge:
  1. running Omniedge by:
/etc/init.d/omniedge enable
/etc/init.d/omniedge start
  1. set firewall
iptables -t nat -A POSTROUTING -s -j MASQUERADE
iptables -A forwarding_rule -s -j ACCEPT
LAN_DEV=`ubus call network.interface.lan status | jsonfilter -e '@["device"]'`
iptables -I FORWARD 1 -i $LAN_DEV -d -j ACCEPT

Here: - your virtual network IP range


On This Page


© 2022 OmniEdge Inc. All rights reserved

Built by a global remote team.
US | AU | CN | DE | MY | CA