Teltonika GPS tracker not sending data

Peterkal a year ago

Hello,
I have Traccar server in docker container in VM... I have OPNsense firewall and I used HAproxy to make reverse proxy with SSL certifficate to my domains managed by Cloudflare via ACME lets encrypt certifficate plugin based on this tutorial: https://youtu.be/uACQrhtsgFk?si=TgUcP2bRRetVnFS4
Everything is working (https on my domain on my traccar manager) except recieving data from my Teltonika FMB003 GPS tracker.

I have traccar.mydomain.com as my traccar server and it is working in any browser with https and in android traccar manager app as well...
I have teltonika.mydomain.com and port 443 and TCP and encription Enabled in my Teltonika FMB003 device set up... I have GPRS signal, I have GPS signal, exact port 443 on my exact domain is open according to port checker...

How should I set this up to work ?

Teltonika.Configurator_1.8.3_E.OBD_Fixes_R.07_nzobOJDVPY.png

Anton Tananaev a year ago

Your configuration doesn't make any sense to me. You're selecting a raw TCP port, but that port is actually HTTPS. Obviously this won't work.

Peterkal a year ago

Yeah.. I realized that...

Then how should I got it work where I make reverse proxy to 5027 port to my traccar server to that domain teltonika.mydomain.com:443 port via Cloudflare with https (or SSL) to work ?

Anton Tananaev a year ago

It won't work with HTTP or HTTPS. You have to find a proxy that supports SSL/TLS for TCP. I think it might be a paid option with CloudFlare, but not sure.

Peterkal a year ago

Yes,
Cloudflare have Spectrum:

Spectrum (for TCP/UDP)

Spectrum protects TCP applications and ports from volumetric DDoS attacks and data theft by proxying non-web traffic through Cloudflare’s Anycast network.

Enterprise Plan:
Custom pricing

it is in their custom enterprise most expensive plan...

No go for me...
Need to find some other options...

Kaldek a year ago

Forgive me for sounding confused but why wouldn't you just use SSL in Traccar for Teltonika? It's supported natively.

Kaldek a year ago

Actually I'm apparently wrong about that, sorry.