Remote Viewing


#1

I’ve recently set up the ADS-B and can see the aircraft I am tracking from my home computer but not when I am not on the road. How do set it up to see it on the road?


#2

I’m using PiAware, over dump1090. Dump1090 has a web server at port tcp port 8080. I added a port translation to my
router that directs incoming port 6XXXX (yes up in the 60,000’s) to the ip address of the dump1090 system:port 8080.

I can then just browse using my phone to my PI’s dynamic hostname : 60000.


#3

So that is what the 8080 is. I also have dump1090 so I can use your info. Can you expand a bit for a noob?


#4

:8080 is the default PORT number assigned to your IP address for dump1090. To see the dump1090 map you probably enter something like 192.168.1.12:8080 and the map comes up. As you know, this works fine if you are inside your local network, but not ‘remotely’.

One job of a router is to block incoming traffic that is not requested. That is basically what you are trying to do when you want to look at your dump1090 map from a remote location.

You need to allow that remote request to come through and not be blocked. It is easy to do, but it will open up your router to the outside world and you may not want that for security reasons.

Here is a pretty good tutorial to get you started. howtogeek.com/66214/how-to-f … ur-router/


#5

thanks for the help and the tutorial link. This Raspberry Pi has been great fun so far and this may be another interesting addition.


#6

So I am set up with Port Forwarding and can access my RPi remotely. It does leave an open port though. 8080 is not a common port but it is still open. Is a dynamic address a way to retain security?


#7

First lets talk about inside the firewall. I assume you have setup a port forwarding such that external 8080 (or anything else) goes to the PIs IP address port 8080. This will continue to work as long as the PI retains the same IP address. If the PI is setup with a static address then no problem. If your PI uses DHCP then it gets its address from the router. This address should stay the same most of the time unless you get a blackout. Some routers will retain the IP address handed to you PI’s MAC address and some don’t :frowning: If your router ever hands out a different IP address then you will need to modify the port translation table :frowning: Also, if you have assigned a static address for your PI, make sure its not
in the routers DHCP range.

Now, outside the firewall. Your routers INTERNET IP address can be static, or dynamic. It depends on your provider, and how much your willing to pay. If its static then there is nothing left to do. If its dynamic then you will need to either always keep tabs on its current address, or setup for dynamic dns hosting (there are many providers, some cost and some are free). This way you can always use the same hostname. This assumes you have software running on some host that will update the dynamic dns server if/when your router gets a new address.

Having a hostname DOES NOT increase or decrease your chances of getting hacked. Having a dynamic (external) address does add a very very small security in that your address can change BUT does nothing if the address does not change. I use a cable modem and my assigned (dynamic) IP address hasn’t changed in years even thru blackouts.

SO, if you are worried about security only open up port 8080 to the PI in the translation table and nothing else. I haven’t been able to break in, and I also have a translation to the PI’s port 22 (SSH) with only 1 account and extremely secure password. And, the external port for both are not the same as the internal port #s.


#8

Hello Martin. thanks for taking the time to explain that. since it is not essential that I see this all the time if the IP address does change I can just adjust. I ran some security checks and the 8080 port was not found. Thanks for the help.