If you're asking that question, you really shouldn't do it for security reasons. There are soooo many bots and automated scanners out there looking for victim sites that you'd be massively attacked within literally a minute or two. Please don't. Really.
But to answer - you'd need to alter your home firewall to permit incoming web traffic to 'only' that computer and tcp/ip port. Ideally you would have your webserver also running 'only' https (a bit hard on a LAN to do), have lots of logging (syslog), blocking typical attacks (fail2ban) and hopefully even alerting that attacks are even happening. You should also segment your network so it's on an isolated VLAN so it can't be used as a jumping off point to attack your other home network devices. That requires special network hardware usually, and some additional level of expertise. It's a big lift to do correctly. Simpler answer is to spend a few bucks/month and spin up a AWS Lightsail VM and use weewx's RSYNC uploader to update the Internet webserver with the weewx-generated data automatically. Lightsail is free for 3 months trial, then $3.50/month. Small price to pay for peace of mind. You'd still have to harden your Lightsail VM, but that's far easier to learn how to do. Get a lets-encrypt ssl certificate to use only https. Use the Lightsail console to let 'just' https in. Install fail2ban. Very doable. Lots of guides out there for how to do so if you google a bit. On Tuesday, January 3, 2023 at 4:23:59 AM UTC-8 kb3...@gmail.com wrote: > I was able to get the local network page of my weewx station but how do > you see this from the public ip? > > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4a1e2ea1-74c3-4f08-ac28-2267cb1148f5n%40googlegroups.com.