Raspberry Pi webserver, even if its behind NAT

You have a Raspberry Pi and the way it connects to the internet is through an ISP that doesn’t provide you a static IP, instead some private IP address like 10.x.x.x or 192.168.x.x? Don’t worry, you can still connect to it from outside and have it handle all webservice requests through a very easy configuration.

The concept is called “reverse SSH tunneling”, which I just discovered today. The idea is that the Raspberry Pi is connected to a server, which behaves as a proxy between the user and the Raspberry Pi. This proxy server could well be a free micro instance of an EC2 server, or some other VPS like Linode.

I found the instructions here: Alex on Linux. Here is the final deployment diagram for me, followed by a lovely picture of my credit card sized webserver.

4 thoughts on “Raspberry Pi webserver, even if its behind NAT

  1. I am typically to blogging and i really respect your content. The article has really peaks my interest. I’m going to bookmark your web site and hold checking for brand spanking new information.

  2. Great blog! Do you have any suggestions for aspiring writers? I’m hoping to start my own blog soon but I’m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m completely confused .. Any suggestions? Appreciate it!

  3. Whats Going down i am new to this, I stumbled upon this I’ve discovered It positively helpful and it has aided me out loads. I’m hoping to contribute & assist different users like its aided me. Great job.

Leave a Reply

Your email address will not be published. Required fields are marked *