On Tuesday, January 10, 2017 at 3:10:30 PM UTC-8, Steve2Q wrote:

> 2. Along with the last part of #1; I have been trying to access the camera 
> from outside my local network, but have been unable to. I have tried 
> various port forwarding settings on my router, but no joy. If anyone could 
> direct me to a site where I can get some more info or lend me some help 
> would be great.
>
>
>
Basic idea is to forward port X from internet back through your 
firewall/gateway box to the real listening port (likely 80) on your pi.    
You get to pick what 'X' is, but make it something different than the port 
you really use inside (folks typically use 8000 or 8080 or 81). 

Be aware, however, that you'll be exposing your home LAN computer to 
internet attacks, and you 'will' be attacked in just a matter of a few 
minutes.  Folks scan typical ISP address ranges routinely, it only takes a 
couple minutes to see evidence of such things.  Watch your webserver logs.  
Keep your webserver software to date.   Connect your webserver box to 
nothing on your LAN such as file shares etc.

It's really impossible to answer the 'how' without knowing more details on 
which gateway box you have at your site, but regardless, the question has 
nothing to do with weewx and probably needs to go to a more general 
networking kind of forum (of which there are thousands I'd expect).   A 
google for "how to port forward" is a good start for information.

A far better way would be to set up a small Linux box on Amazon or 
DigitalOcean or the like and use the weewx rsync capability to push your 
weewx data 'out' to Internet periodically (which is what I do, if that 
matters).   A tiny webserver is about $ 5 per month these days.  Small 
price to pay for sleeping a little better.   I write a snapshot image to my 
weewx html directory via cron, so weewx rsync pushes everything to my ISP 
easily for me.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to