I setup openVPN proxy connection on my GL-MT3000 , running latest firmware 4.7.0 and it keeps disconnecting.
I ran tests on my proxy from a separate computer on the same network and it works fine, my internet connection is great, but the computer connected to the GL-MT3000 is constantly being disconnected, disrupting Anydesk connection, streaming, etc.
This most noticeably manifests as internet speed tests (like Ookla) failing during the upload phase, often showing 0 Mbps upload or reporting a generic "SOCKS error". Download tests usually complete successfully. The connection loss seems random but happens frequently.
Network Setup:
- The GL-MT3000's WAN port (eth0) is connected directly to our office's business LAN (obtaining IP via DHCP).
- My Windows 10 Pro PC is connected via Ethernet cable to the router's LAN port (eth1).
- An OpenVPN client connection is configured on the router.
- All traffic from the LAN clients is routed through the OpenVPN tunnel.
- All traffic going through the OpenVPN tunnel is then redirected through a SOCKS5 proxy configured on the router (the SOCKS5 endpoint is a mobile proxy).
Key Findings from Logs:
- Recurring eth0 (WAN Port) Link Instability: Kernel logs consistently show the eth0 interface going down and then back up, often with 5-10 seconds of downtime.
- Example: mtk_soc_eth 15100000.ethernet eth0: Link is Down followed later by mtk_soc_eth 15100000.ethernet eth0: Link is Up
-
Direct Correlation with OpenVPN Failure: System logs show OpenVPN generating write UDP: Network unreachable (code=101) errors immediately after the eth0 link goes down.
-
OpenVPN Tunnel Instability: Separate from WAN drops, the VPN client sometimes restarts due to [server] Inactivity timeout (--ping-restart), restarting and subsequent Server poll timeout, restarting, suggesting issues within the tunnel path itself.
-
OpenVPN PUSH Option Issues:
- The VPN server consistently pushes dhcp-option DNS 192.0.2.x.
- The router's OpenVPN client (v2.5.3) logs errors for pushed options it doesn't recognize: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:2: block-outside-dns (and similar for register-dns).
- DNS Resolution Problems:
- dnsmasq logs show Maximum number of concurrent DNS queries reached (max: 150).
- dnsmasq logs show nameserver 1.1.1.1 refused to do a recursive query (likely due to office network interference or policy).
- Nginx logs show Lua errors trying to connect to public DNS servers (connect timed out / Host is unreachable).
-
OpenVPN Data Channel Errors: Occasional AEAD Decrypt error: cipher final failed messages appear, indicating potential data corruption over the tunnel.
-
Router Unresponsiveness Symptoms: Nginx logs show frequent lua tcp socket read timed out errors for WebSocket connections (/ws) from the web UI, likely triggered by the network instability.
-
Filesystem Recovery: Kernel logs show UBIFS (ubi0:2): recovery needed on boot, suggesting previous unclean shutdowns or crashes potentially caused by the instability.