This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

lwIP server behind router

Other Parts Discussed in Thread: ENERGIA

Hi,

I am thinking of building a simple web server on a Tiva launchpad based on the lwIP library. I found a couple of examples that work. My question is, how is it possible to reach the web server when it's located behind a router? Normally I would do ssh tunneling, with the IwIP however I have no idea where to start. Even though lwIP is preferred, any example that is close (even something based on TI-RTOS or Energia)  would be appreciated.

Thank you,

Botond

  • Hello Botond,

    I think you are trying to access the Tiva Launchpad that in running a web server over the internet. If so, the only solution that I can think of is to get a Static IP address for your router. The internet service provider can help with that. The router should then be configured to forward the traffic that it receives on a specific port (say 80) to the launchpad. This option will be called "Port Forwarding" on most of the routers. The data communication will not be secure with this approach.

    I don't think there is an easy way to implement SSH using lwIP.

    However I believe TI-RTOS has some solution. Please post on TI-RTOS's E2E forum for more help. The link is e2e.ti.com/.../tirtos

    Hope this helps!

    Sai