Teltonika - Router - OpenVPN Client Shows Disconnected After a Firmware Update

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.

  1. From a device on the LAN, or from the router's diagnostics page, ping a host on the far side of the tunnel.
  2. If you get replies, the tunnel is up and this article applies.
  3. 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

  1. Take a backup of the configuration first. See Teltonika - Router - Backup and Restore the Configuration.
  2. Log in to the WebUI at http://192.168.1.1.
  3. Go to System > Maintenance > Custom Scripts.
  4. Add these three lines:

/sbin/uci delete openvpn.fixedIP.status

/sbin/uci delete openvpn.publicIP.status

/sbin/uci commit

  1. Click Save & Apply.
  2. Reboot the router so the script runs.
  3. After the reboot, go back to System > Maintenance > Custom Scripts.
  4. Remove the three lines and click Save & Apply. Don't leave them in place.
  5. Disconnect and reconnect the OpenVPN connection. A reboot also works.
  6. 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

ProblemWhat to check
Still shows DisconnectedDid the router reboot with the script in place? Did you disconnect and reconnect the client?
Pings through the tunnel failThe tunnel is genuinely down. Raise a ticket with the logs
Script lines still in the pageRemove them once the status is fixed
A different router modelThis 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
Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more