loathingKernel / ariadne-bootloader

A little less unfinished TFTP bootloader for Arduino Ethernet or Arduino with Ethernet Shield
45 stars 18 forks source link

Download through NAT #36

Closed GrubSerg closed 4 years ago

GrubSerg commented 4 years ago

Hello!

There was a problem with the firmware over the network through NAT. The TFTP server generates random ports during data transfer and there is no way to forward them. Is it possible to make a port permanent?

loathingKernel commented 4 years ago

The communication port is the default 69, and the data transfer port is statically set to 46969. If you want to change them, you will have to edit the source and rebuild the boot loader.

GrubSerg commented 4 years ago

Thanks for the very prompt reply. Probably the problem is in my port forwarding settings. It doesn’t work out yet. I will think. Did you flash through the router?

loathingKernel commented 4 years ago

Yes I have flashed through a router from a client running on an external machine to an Arduino in my LAN.

GrubSerg commented 4 years ago

I apologize for the persistence, but could not show an example of port forwarding.

loathingKernel commented 4 years ago

Have you read the documentation here? There is a section, that explains the basics of the process. It doesn't go in detail about how to port forward but has a link to an external wiki for that.

GrubSerg commented 4 years ago

Thanks for answers. The problem was in the router settings. )))))