I'm looking for advice on a rather complex Ubuntu 18.04 setup.
Primarily the router will just talk with other "nodes" on a local network using mesh and backhaul 'internet' data through 4G. If mesh is unavailable it should use 4G to talk to another node's 4G for all traffic. This means all routers need to 'listen' on 4G in case another node is sending this way. Additionally, if a node does not have 4G but does have mesh is should use the mesh to connect to another node and use that particular nodes 4G connection. I have attached a few diagrams which hopefully make this more clear. In order to connect the 4G connections together we intend to use OpenVPN (server is already setup and configured).
The single-board computer and transceiver hardware is:
Gateworks GW6200 with a 2.4Ghz transceiver (wanted as a local mesh radio) and Sierra Wireless 4G modem (for a WAN connection).
Image for all connected noted. The primary connection is mesh with 4G failover