I have about 100 raspberries, each of which is installed without connecting to an Ethernet network, so they must transfer data to the main server using a 3G modem. When 3G connects, your ISP gives you a dynamic IP address.
I have an SSH reverse tunneling solution (explained here http://www.thirdway.ch/En/projects/raspberry_pi_3g/index.php ), but I can just connect to port 22 and in the main server I have 100 different ports for each tunneling ... a nightmare.
Also, I can not connect to other ports, if I need, only 22.
About the dynamic IP interface I know the dyndns solution (or the like).
Is there a good solution to work with all of them easily and can connect to ANY port?
I would like to do things like:
- install munin (i need 4949)
- connect to myraspberry45.mydomain.com to 80
- ... or 22 if I want
- ...
Any idea?
source
share