GL-X3000 drops inbound inside OpenVPN connections after 30 seconds

I have this behavior on all my GL.iNet routers and I don't know how to solve it: I connect the router to a large OpenVPN network in which a whole /24 is routed down to the GL.iNet router and its LAN. For instance, the total VPN address space is
192.168.0.0/16

The router is handed by OpenVPN it's /24 .1 address, which is also its LAN address.

192.168.50.1

Clients behind the GL.iNet (192.168.50.0/24) route to the rest of the VPN network just fine when IPMasq is turned off and Remote Access LAN is turned on.

But when I connect from outside the GL.iNet via the VPN route (Say from 192.168.30.71) my connection to both the GL.iNet and anything interior (192.168.50.0/24) lasts about 30 seconds and then stops. I'm guessing the state got dropped from the state table or something, there's no disconnect just a full stop to packets. I can start a new session (eg, ssh) and it will work again for another 30 seconds.

What do I need to adjust either in the GL.iNet interface or luci to keep these connections from being dropped/cleaned up like this?

Thanks a lot for the help!

Seems the VPN server and client are connected always, the tunnel works well.

  1. enable the IP masquerade.
  2. From the syslog (server and client) to try to find the disconnect reason.
  3. probably that client device (connected with the VPN router) stops the packet, block the ssh, etc.