Teltonika - Router - No Data Transfer in Passive FTP Mode

Level: L1 | Applies to: Teltonika routers on RutOS 7 | Type: Known issue

Summary

An FTP client outside the router connects to an FTP server behind it, but file transfers fail. This often starts after a move from legacy firmware to RutOS 7. This article shows the firewall setting that fixes it.

How to recognise it

  • The FTP login works, but listing folders or transferring files hangs or fails.
  • It only fails in passive mode.
  • The same setup worked on legacy firmware.

Why it happens

Passive FTP opens a second connection for data on a port the server chooses. The router's firewall needs FTP connection tracking to spot that second connection and let it through. On RutOS 7 it has to be switched on for the zone, or passive transfers are blocked.

Before you start

  • Make sure the FTP server is already reachable on its control port, normally port 21, through port forwarding. See Teltonika - Router - Add Port Forwarding.
  • The router needs a public IP address for outside clients to reach it. See the precheck in that article.
  • Take a note of the current firewall settings.

Steps

  1. Log in to the WebUI at http://192.168.1.1.
  2. Go to Network > Firewall > Settings. On legacy firmware this is General Settings.
  3. Turn off the automatic assignment of conntrack helpers.
  4. Go to Network > Firewall > Zones.
  5. Click Edit on the wan zone.
    • If you use an mdex fixed.IP or public.IP service with OpenVPN, edit the openvpn zone instead.
  6. Open the Advanced Settings tab.
  7. In the Conntrack helpers drop-down, choose the FTP passive connection tracking option.
  8. Click Save & Apply.

Test it

  1. From a client outside the router, connect to the FTP server in passive mode.
  2. List a folder and transfer a small file.
  3. Check the transfer completes.

If it still fails

  • Check the FTP server's passive port range and make sure those ports are forwarded as well.
  • Check the server's own firewall.
  • Check the client really is in passive mode.
  • Try a different client to rule out the client's settings.

Related articles

  • Teltonika - Router - Add Port Forwarding
  • Teltonika - Router - Enable Remote Access
Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more