Chat freely about anything...

User avatar
By lucasromeiro
#80389 Hello everyone!

Some time ago I've been looking for a solution to connect to my remote devices installed on clients.
It is inconvenient to ask them to do port redirection. This has bothered me a lot.
I need something simpler and more practical.
Then I read about UPnP.
I researched and found a library that does this, but at the time it did not work well and was not in the arduino's libraryManager.
A little while ago it has been added and has received interesting updates.

I believe that many people here would also make good use of this library.

It does port redirection automatically.

I also invite those who like to help, help me make this library reliable and robust!
I have been helping and testing.

Anyone who can help will also be welcome!

A simple test on your router to tell if it worked will help a lot! You will also be welcome to help develop improvements.

Library:

https://github.com/ofekp/TinyUPnP

Thank you all!
User avatar
By btidey
#80395 Note that using uPnP relies on it being enabled in the router before it can be used. That can only be done by logging onto the router and changing its settings so you are not necessarily getting round that step.

Although it might be enabled by default in some home routers that is not always the case and many have security concerns over using uPnP so turn it off anyway.
User avatar
By lucasromeiro
#80396
btidey wrote:Note that using uPnP relies on it being enabled in the router before it can be used. That can only be done by logging onto the router and changing its settings so you are not necessarily getting round that step.

Although it might be enabled by default in some home routers that is not always the case and many have security concerns over using uPnP so turn it off anyway.


Hello, I know that. On all the routers I tested the UPnP function is enabled by default. This function will help me a lot in the client settings. It's another tool to make our lives easier!