Beryl OpenVPN connection unstable, no error message on logs

I just got a new Beryl device, been playing with it for couple of days, I am trying to set it up so that I can connect to an OpenVPN server at home, when I am away, I have done this with OpenWRT in the past from other manufacturer (Netgear, Linksys), but this one is being difficult.

I have 2 different OpenVPN Servers, they are configured different, I am able to use them, just not from the Beryl router, I have tested by connecting locally to one of those OpenVPN Server, and the connection remains unstable.

Tested both as a wireless bridge, or completely hardwired, I tested with both DNS Rebinding Attack Protection enabled and disabled, tested Firmwares 3.203, 3.211 and 3.215 beta1, I cleared the config with every firmware change, the router works fine if its not connected to OpenVPN, IPV6 is off.

Fri Jun 3 21:25:08 2022 daemon.notice openvpn[3805]: net_route_v4_add: remote_vpn_server/32 via 192.168.150.1 dev [NULL] table 0 metric -1
Fri Jun 3 21:25:08 2022 daemon.notice openvpn[3805]: net_route_v4_add: 0.0.0.0/1 via 10.8.175.5 dev [NULL] table 0 metric -1
Fri Jun 3 21:25:08 2022 daemon.notice openvpn[3805]: net_route_v4_add: 128.0.0.0/1 via 10.8.175.5 dev [NULL] table 0 metric -1
Fri Jun 3 21:25:08 2022 daemon.notice openvpn[3805]: net_route_v4_add: 192.168.175.0/24 via 10.8.175.5 dev [NULL] table 0 metric -1
Fri Jun 3 21:25:08 2022 daemon.notice openvpn[3805]: net_route_v4_add: 10.8.175.1/32 via 10.8.175.5 dev [NULL] table 0 metric -1
Fri Jun 3 21:25:09 2022 user.info mwan3rtmon[2810]: Detect rtchange event.
Fri Jun 3 21:25:09 2022 user.notice firewall: Reloading firewall due to ifup of ovpn (tun0)
Fri Jun 3 21:25:10 2022 user.notice root: check route success
Fri Jun 3 21:25:10 2022 daemon.warn openvpn[3805]: WARNING: this configuration may cache passwords in memory – use the auth-nocache option to prevent this
Fri Jun 3 21:25:10 2022 daemon.notice openvpn[3805]: Initialization Sequence Completed

It does seem to connect, and I see that the my home IP is recognized, but then the connection goes up and down within seconds., does not stop. I was able to successfully do a speed test, and I do get a fast enough connection, just not stable.

When you say “tested by connecting locally”, I am assuming perhaps incorrectly that you are testing this with the Beryl connected to your home router running the OpenVPN server. This isn’t a good test, I think. By default OpenVPN binds to all the interfaces, so it is listing on your LAN interface as well as on the WAN interface. Testing it that way is fine for testing certificates, etc., I think, but not for actual use. It is quite dependent on how your router is implementing loopback.

Better would be to go to the local library, or connect the beryl to a cell hotspot/tether so it is clear you are reaching the server from the WAN side.

1 Like

This was just a troubleshooting step, taking out the Internet and create the tunnel, worked the same when hitting a VPN on the Internet, or a local VPN.

I have other OpenWRT devices, and have never had this problem before, this is my first time trying a gl-inet device.

I’m up one month now connecting my Beryl as a client to my home OpenVPN.

You may post your ovpn to have a check?

The log has a lot of route push. Didn’t show connected or not. Need more log.