Level: L1 | Applies to: Teltonika RUT240, RUT950 and RUT955 with an OpenVPN client (for example mdex fixed.IP or public.IP) | Type: Known issue
Summary
After a firmware update the WebUI shows the OpenVPN client as Disconnected, even though the tunnel is up. This is a display error only. This article shows how to confirm that, and how to clear it. It is not a guide to setting up a VPN.
How to recognise it
- The problem began straight after a firmware update.
- The OpenVPN status in the WebUI says Disconnected.
- Traffic still passes through the tunnel.
Why it happens
Newer firmware changed the parameters used to report OpenVPN status. The update didn't convert or remove the old ones correctly, so the WebUI reads the wrong value. The tunnel itself isn't affected.
First, check the tunnel is really working
Don't assume it's cosmetic. Test it first.
- From a device on the LAN, or from the router's diagnostics page, ping a host on the far side of the tunnel.
- If you get replies, the tunnel is up and this article applies.
- If you don't, the tunnel really is down. This is a different fault. Collect the logs and raise a ticket. See Teltonika - Router - Download Troubleshoot File and Logs.
Steps
- Take a backup of the configuration first. See Teltonika - Router - Backup and Restore the Configuration.
- Log in to the WebUI at http://192.168.1.1.
- Go to System > Maintenance > Custom Scripts.
- Add these three lines:
/sbin/uci delete openvpn.fixedIP.status
/sbin/uci delete openvpn.publicIP.status
/sbin/uci commit
- Click Save & Apply.
- Reboot the router so the script runs.
- After the reboot, go back to System > Maintenance > Custom Scripts.
- Remove the three lines and click Save & Apply. Don't leave them in place.
- Disconnect and reconnect the OpenVPN connection. A reboot also works.
- The status should now show Connected.
The names fixedIP and publicIP are the instance names used by the mdex fixed.IP and public.IP services. If your tunnel has a different name, don't change the commands yourself. Raise a ticket.
Troubleshooting
| Problem | What to check |
| Still shows Disconnected | Did the router reboot with the script in place? Did you disconnect and reconnect the client? |
| Pings through the tunnel fail | The tunnel is genuinely down. Raise a ticket with the logs |
| Script lines still in the page | Remove them once the status is fixed |
| A different router model | This article covers the RUT240, RUT950 and RUT955 only |
Related articles
- Teltonika - Router - Update Firmware
- Teltonika - Router - Backup and Restore the Configuration
- Teltonika - Router - Download Troubleshoot File and Logs