-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Public IP/Port Forwarding #23
Comments
Good afternoon @neo-seeker , The tutorial contains an exhaustive list of prerequisites, and there is absolutely no requirement for AWS or Azure. In the tutorial, I use the "AWS IoT Custom" configuration element for the device's MQTT connection, but that's just how Teltonika has decided to name the system. There is no connection or usage of any AWS product or server in any part of the tutorial, you can run this in any computer that fulfills the requirements in the tutorial. Everything runs on OpenRemote. As long as you can configure the device as shown in the tutorial (i.e. the options that I use are available), you should be good. As a note, you mention using port forwarding, but as a reminder, the server requires an SSL certificate, which basically means that you will need to have a domain name configured to the OpenRemote server (using an A record or something). When you say you are having issues finding the .pem file, what exactly do you mean? I'm not sure I can 100% help on Windows 10, but let me know. Thanks! |
Thanks a lot Panos. I was able to follow the tutorial and was also able to run the docker-compose up with the fleet-management customization. Here is my current setting:
I got only cert1.pem and cert2.pem not cert3.pem (reverse_certchain.pem was added to the device with domain:xyz.com and port 22825>>8883 using codec JSON and TLS/DTLS. Note: [Port 22825 is router port forwarded to 8883 on host machine which is mapped to docker port 8883 ] Please advice me what steps must I take next to that I can establish communication between the device and MQTT broker on Openremote. Device Details: FMC150 with Firmware Ver: 03.29.00 Rev:157. Thanks in advance for the great work again. |
Hey @neo-seeker , Happy to hear that you were able to at least get everything set up. Is the OpenRemote UI reachable on xyz.com? If it is, then that means that the SSL certificates are working correctly. It's definitely possible that your certificate chain only contains 2 certificates, as is the case here. You can test this out to get the correct certificate chain: awk '/-----BEGIN CERTIFICATE-----/{x="cert"++i".pem"}; {print > x}' fullchain.pem && \
(cat cert2.pem; cat cert1.pem) > reversed_certchain.pem && \
rm cert1.pem cert2.pem So you can now take You can also take a look into the Also, let's please move to the forum for support. I'd like to have issues like this in our forum: https://forum.openremote.io/ . This will get more attention by the team. I'd like to keep issues specifically for bugs and code-related issues. Thanks! |
Hi Panka,
I was trying to deploy the Teltonika fleet management fork. While going through the docker-compose.yml, if found the last lines :
<<: *awslogs
I am trying to deploy the project at home with docker and then expose the ports with port forwarding. I have played with Teltonika devices MQTT protocol which they provide option for AWS and AZURE IoT only, but I have been un-official support from Teltonika with Mosquitto MQTT where we can self generate the certificates and add it to the Teltonika devices.
Is the docker-compose.yml file / fleet-management project only based on AWS? I get stuck doing custom deployment when I try to find .pem file. on top, i have deployed the docker in windows 10.
The text was updated successfully, but these errors were encountered: