RUT955 Setup Guide¶
The Teltonika router serves as the: - Internet gateway - DHCP server, - Modbus Gateway
Setup¶
-- Note -- : I haven't configured one from scratch so my starting point is after having factory reset an already-provisioned unit. When you set one up for the first time you will need to install the sim and enter the pin.
INITIAL ACCESS¶
You will need to connect to the Teltonika via a ethernet cable for the initial setup, or after a factory reset. Wifi is possible but unreliable - don't bother with it.
- Connect the LAN cable for internet/intranet access into the
WANport on the router - Connect your laptop/desktop to
LAN1on the router - Navigate to
192.168.1.1in the browser - login using the USN:
adminand PW:admin01 - Change the password to the one stored in keepass
WAN NETWORK ADDRESS¶
In order for the Teltonika to connect to the client's network using a static ip address we will need to enter the proper: - Ip address - netmask - gateway - broadcast - dns server
- Navigate to Network → Interfaces in the Web UI
- Click the Edit button (it looks like a pencil) for the
WANinterface - Change the
ProtocoltoStaticand fill in the information. - Click
Save & Apply
DELL IP ADDRESS¶
We want the dell pc to come online with a specific ip address which needs to be set on the Teltonika.
- Navigate back to Network → Interfaces
- Click the Edit button (it looks like a pencil) for the
LANinterface - Add a new Static Lease (at the bottom of the page) for the Dell pc using the MAC address recorded in the inventory. Set the IP address to
192.168.1.100
MOXA IP ADDRESS¶
- Navigate back to Network → Interfaces
192.168.137.145
FIREWALL AND VPN¶
The router won't be allowed to connect to the VPN until we add its WAN IP and its Mobile IP to the VPN Server's firewall exceptions.
- SSH into the router and run
curl icanhazip.com. Record the IP - Disable the
WANconnection in the GUI and runcurl icanhazip.comagain. Record the IP - Add the IPs to to the VPN Server's firewall exceptions.
- Use the wireguard ansible package to generate a wireguard config and provision it to the server
- Add the wireguard config values under Service → VPN → WireGuard
- Set allowed IPs to
0.0.0.0/0in the peer config - Enable
Route allowed ipsin the wireguard peer configuration
MODBUS¶
- In the RS485 menu, set
Serial TypetoModbus Gateway
Common Issues¶
-
The Teltonika router switches IP addresses alomst every time it is rebooted which means it may lose VPN connection due to the WG server firewalls not having the new IP address. Add the new IP to the firewall, or just drop the firewall to re-establish connectivity.
-
The Teltonika sometimes decides it just doesn't want to hand out DHCP leases. Reseating the CAT5 cable in the Dell and Teltonika sometimes works, otherwise power-cycling the router and Dell seems to unstick things
More Resources¶
For the official documentation and helpful guides please see the links below:
-Perform a a Factory Reset -LED Status Codes -User Manual -First-Start Guide
