Teltonika - Router - Add port forwarding

Level: L1 | Applies to: Teltonika RUT and RUTX series routers (RutOS)

Summary

Port forwarding lets someone outside the router's network reach a device on the LAN, such as a camera, PLC or web server. This article shows how to set up a rule.

Before you start

  • Check the SIM has a public IP address Or a VPN setup (VPN setup highly recommended for security). Many mobile SIMs sit behind carrier-grade NAT, with a private address. Inbound traffic can't reach the router in that case, and port forwarding won't work. You need a SIM with a public static IP, or a private network or VPN. Ask us if you are not sure.
  • Give the target device a fixed address on the LAN. See Teltonika - Router - Set up the DHCP server.
  • Know the port the device listens on, and whether it uses TCP, UDP or both.
  • Think about security first. Anything you forward can be reached from the Internet. Use strong passwords, keep the device up to date and use a VPN where you can.

Steps

  1. Log in to the WebUI at http://192.168.1.1.
  2. Go to Network > Firewall > Port Forwarding. Menu names can vary slightly between firmware versions.
  3. In the Add new instance area, enter a Name, for example Camera1.
  4. Choose the Protocol: TCP, UDP or TCP+UDP.
  5. Set the Source zone to the zone that carries the mobile connection, normally WAN.
  6. Set the External port. This is the port people connect to from outside.
  7. Set the Destination zone to LAN.
  8. Set the Internal IP address to the device's LAN address.
  9. Set the Internal port. This is the port the device listens on. It can match the external port or differ.
  10. Click Add, then Save & Apply.

Test it

  1. Find the router's accessible address in Status > Network > Mobile.
  2. From a device outside the mobile network, such as another connection, connect to mobile-IP:external-port. e.g 10.xx.xx.xx:80 - Define the mobile address and specify the port via :port number
  3. If it doesn't work, check the rule, the device's address and that the device is running the service.

Testing from inside the LAN usually won't work. Test from outside.

Troubleshooting

ProblemWhat to check
Can't connect from outsideDoes the SIM have an accessible IP? Check the router's mobile IP address
Rule is there but no responseCheck the internal IP, port and protocol match the device
Worked, then stoppedThe device may have a new address. Use a static lease
Port already in useAnother rule or the router's own remote access is using the port. Pick a different external port
Device reachable but slow or flakyCheck signal and data session. See Teltonika - Router - Check signal strength (WebUI)

 

Related articles

  • Teltonika - Router - Set up the DHCP server
  • Teltonika - Router - Enable remote access
Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more